mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Only one puddle sparkle please (#43086)
* only one sparkle please :3 * address review
This commit is contained in:
parent
877070139f
commit
2de2d7604f
2 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue