PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -176,7 +176,7 @@ public sealed class BloodstreamSystem : EntitySystem
|
||||
// We'll play a special sound and popup for feedback.
|
||||
SoundSystem.Play(component.BloodHealedSound.GetSound(), Filter.Pvs(uid), uid, AudioParams.Default);
|
||||
_popupSystem.PopupEntity(Loc.GetString("bloodstream-component-wounds-cauterized"), uid,
|
||||
Filter.Entities(uid), PopupType.Medium);
|
||||
uid, PopupType.Medium);
|
||||
; }
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ public sealed class InternalsSystem : EntitySystem
|
||||
// If they're not on then check if we have a mask to use
|
||||
if (internals.BreathToolEntity == null)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("internals-no-breath-tool"), uid, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(Loc.GetString("internals-no-breath-tool"), uid, user);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public sealed class InternalsSystem : EntitySystem
|
||||
|
||||
if (tank == null)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString("internals-no-tank"), uid, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(Loc.GetString("internals-no-tank"), uid, user);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace Content.Server.Body.Systems
|
||||
if (_gameTiming.CurTime >= respirator.LastGaspPopupTime + respirator.GaspPopupCooldown)
|
||||
{
|
||||
respirator.LastGaspPopupTime = _gameTiming.CurTime;
|
||||
_popupSystem.PopupEntity(Loc.GetString("lung-behavior-gasp"), uid, Filter.Pvs(uid));
|
||||
_popupSystem.PopupEntity(Loc.GetString("lung-behavior-gasp"), uid);
|
||||
}
|
||||
|
||||
TakeSuffocationDamage(uid, respirator);
|
||||
|
||||
Reference in New Issue
Block a user