Only one puddle sparkle please (#43086)

* only one sparkle please :3

* address review
This commit is contained in:
Jessica M 2026-03-01 12:14:23 -08:00 • committed by GitHub
parent 877070139f
commit 2de2d7604f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -71,7 +71,8 @@ public abstract partial class SharedPuddleSystem
if (puddleSolution.Volume == FixedPoint2.Zero)
{
// Spawn a *sparkle*
SpawnAttachedTo(evaporation.EvaporationEffect, Transform(uid).Coordinates);
if (_net.IsServer) // TODO: Change this once we have entity spawn prediction V2
SpawnAttachedTo(evaporation.EvaporationEffect, Transform(uid).Coordinates);
PredictedQueueDel(uid);
}

View file

@ -21,6 +21,7 @@ using Content.Shared.StepTrigger.Systems;
using Robust.Shared.Audio.Systems;
using Robust.Shared.Containers;
using Robust.Shared.Map;
using Robust.Shared.Network;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;
@ -41,6 +42,7 @@ public abstract partial class SharedPuddleSystem : EntitySystem
[Dependency] private readonly SpeedModifierContactsSystem _speedModContacts = default!;
[Dependency] private readonly StepTriggerSystem _stepTrigger = default!;
[Dependency] private readonly TileFrictionController _tile = default!;
[Dependency] private readonly INetManager _net = default!;
private ProtoId<ReagentPrototype>[] _standoutReagents = [];