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:
Sugarcane 2026-04-30 13:14:02 -04:00 committed by GitHub
parent f743285829
commit 383d6d4774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);