Fix duplicate popups in ripley (#23692)

Fix duplicate popups on switching selected equipment

(cherry picked from commit e1e99e16c7e239813f2c9ff046871736e52ef6a4)
This commit is contained in:
Arendian 2024-01-08 00:32:46 +01:00 committed by Debug
parent a3c27ca219
commit c2e20e568c
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 1 deletions

View File

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