Skip to content

Commit 9b60fde

Browse files
comment stuff
1 parent da1c2ff commit 9b60fde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Content.Client/_ST/Interaction/StellarInteractionParticleSystem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ private void OnInteractionParticle(StellarInteractionParticleEvent ev)
6969
if (performerXform.MapID == MapId.Nullspace || targetXform.MapID == MapId.Nullspace)
7070
return;
7171

72+
// if the interaction is happening across parent boundaries (ie inhand or in a bag or something)
73+
// override it with an inhand particle effect
7274
if (performerXform.ParentUid != targetXform.ParentUid)
7375
{
7476
if (type == StellarInteractionParticleType.Pull)
@@ -90,9 +92,7 @@ private void OnInteractionParticle(StellarInteractionParticleEvent ev)
9092
if (used is { } usedEntity && Exists(usedEntity) && TryComp<SpriteComponent>(usedEntity, out var usedSprite))
9193
{
9294
_sprite.CopySprite((usedEntity, usedSprite), particle);
93-
// ES START
9495
_sprite.SetDrawDepth(particle, (int) Shared.DrawDepth.DrawDepth.Effects);
95-
// ES END
9696
}
9797

9898
var sprite = Comp<SpriteComponent>(particle);

0 commit comments

Comments
 (0)