Spilling liquids no longer exposes true identify (#18505)

* mama i did it by myself!

* wait how does this fix it? what???

* oops
This commit is contained in:
Vasilis
2023-08-01 01:15:17 +02:00
committed by GitHub
parent 70db8e8177
commit eda7e744a3
2 changed files with 2 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ using Content.Shared.Popups;
using Content.Shared.Slippery; using Content.Shared.Slippery;
using Content.Shared.Fluids.Components; using Content.Shared.Fluids.Components;
using Content.Shared.Friction; using Content.Shared.Friction;
using Content.Shared.IdentityManagement;
using Content.Shared.StepTrigger.Components; using Content.Shared.StepTrigger.Components;
using Content.Shared.StepTrigger.Systems; using Content.Shared.StepTrigger.Systems;
using Robust.Server.GameObjects; using Robust.Server.GameObjects;
@@ -511,7 +512,7 @@ public sealed partial class PuddleSystem : SharedPuddleSystem
} }
_reactive.DoEntityReaction(owner, splitSolution, ReactionMethod.Touch); _reactive.DoEntityReaction(owner, splitSolution, ReactionMethod.Touch);
_popups.PopupEntity(Loc.GetString("spill-land-spilled-on-other", ("spillable", uid), ("target", owner)), owner, PopupType.SmallCaution); _popups.PopupEntity(Loc.GetString("spill-land-spilled-on-other", ("spillable", uid), ("target", Identity.Entity(owner, EntityManager))), owner, PopupType.SmallCaution);
} }
return TrySpillAt(coordinates, solution, out puddleUid, sound); return TrySpillAt(coordinates, solution, out puddleUid, sound);

View File

@@ -11,7 +11,6 @@ namespace Content.Server.Power.EntitySystems
[UsedImplicitly] [UsedImplicitly]
public sealed class BatterySystem : EntitySystem public sealed class BatterySystem : EntitySystem
{ {
[Dependency] private readonly SharedAppearanceSystem _sharedAppearanceSystem = default!;
public override void Initialize() public override void Initialize()
{ {
base.Initialize(); base.Initialize();