Fix: Chronic Pain Popup Visible to All (#5746)
Fix Chronic Pain Popup The Chronic Pain trait's popups should now only be visible by the client with the trait.
This commit is contained in:
parent
f743285829
commit
383d6d4774
|
|
@ -94,7 +94,7 @@ public abstract partial class SharedChronicPainSystem : EntitySystem
|
|||
return;
|
||||
|
||||
var effect = RobustRandom.Pick(effects);
|
||||
Popup.PopupPredicted(Loc.GetString(effect), entity, entity);
|
||||
Popup.PopupClient(Loc.GetString(effect), entity, entity);
|
||||
|
||||
// Set next popup time
|
||||
var delay = RobustRandom.Next(entity.Comp.MinimumPopupDelay, entity.Comp.MaximumPopupDelay);
|
||||
|
|
|
|||
Loading…
Reference in New Issue