diff --git a/Content.Shared/Polymorph/Systems/SharedChameleonProjectorSystem.cs b/Content.Shared/Polymorph/Systems/SharedChameleonProjectorSystem.cs index bf6fea5b470..33763529d34 100644 --- a/Content.Shared/Polymorph/Systems/SharedChameleonProjectorSystem.cs +++ b/Content.Shared/Polymorph/Systems/SharedChameleonProjectorSystem.cs @@ -46,6 +46,7 @@ public abstract class SharedChameleonProjectorSystem : EntitySystem SubscribeLocalEvent(OnDisguiseDamaged); SubscribeLocalEvent(OnDisguiseInsertAttempt); SubscribeLocalEvent(OnDisguiseShutdown); + SubscribeLocalEvent(OnDisguiseBeforeEquippedHand); SubscribeLocalEvent(OnDisguisedInserted); @@ -86,6 +87,12 @@ public abstract class SharedChameleonProjectorSystem : EntitySystem _actions.RemoveProvidedActions(ent.Comp.User, ent.Comp.Projector); } + private void OnDisguiseBeforeEquippedHand(Entity ent, ref BeforeGettingEquippedHandEvent args) + { + args.Cancelled = true; + TryReveal(ent.Comp.User); + } + #endregion #region Disguised player