Fix duplicate popups in ripley (#23692)
Fix duplicate popups on switching selected equipment (cherry picked from commit e1e99e16c7e239813f2c9ff046871736e52ef6a4)
This commit is contained in:
parent
a3c27ca219
commit
c2e20e568c
|
|
@ -191,7 +191,7 @@ public abstract class SharedMechSystem : EntitySystem
|
|||
? Loc.GetString("mech-equipment-select-popup", ("item", component.CurrentSelectedEquipment))
|
||||
: Loc.GetString("mech-equipment-select-none-popup");
|
||||
|
||||
if (_timing.IsFirstTimePredicted)
|
||||
if (_net.IsServer)
|
||||
_popup.PopupEntity(popupString, uid);
|
||||
|
||||
Dirty(component);
|
||||
|
|
|
|||
Loading…
Reference in New Issue