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