From: Arendian <137322659+Arendian@users.noreply.github.com> Date: Sun, 7 Jan 2024 23:32:46 +0000 (+0100) Subject: Fix duplicate popups in ripley (#23692) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e1e99e16c7e239813f2c9ff046871736e52ef6a4;p=space-station-14.git Fix duplicate popups in ripley (#23692) Fix duplicate popups on switching selected equipment --- diff --git a/Content.Shared/Mech/EntitySystems/SharedMechSystem.cs b/Content.Shared/Mech/EntitySystems/SharedMechSystem.cs index b4cd625824..7e44dea507 100644 --- a/Content.Shared/Mech/EntitySystems/SharedMechSystem.cs +++ b/Content.Shared/Mech/EntitySystems/SharedMechSystem.cs @@ -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);