Fix strip menu opening on regular click (#14272)
This commit is contained in:
committed by
GitHub
parent
2351bbb607
commit
c6407f6bdf
@@ -34,6 +34,8 @@ public sealed class InteractionPopupSystem : EntitySystem
|
||||
if (HasComp<SleepingComponent>(uid))
|
||||
return;
|
||||
|
||||
args.Handled = true;
|
||||
|
||||
var curTime = _gameTiming.CurTime;
|
||||
|
||||
if (curTime < component.LastInteractTime + component.InteractDelay)
|
||||
@@ -85,6 +87,5 @@ public sealed class InteractionPopupSystem : EntitySystem
|
||||
}
|
||||
|
||||
component.LastInteractTime = curTime;
|
||||
args.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user