private void OnStandAttempt(EntityUid uid, MobStateComponent component, StandAttemptEvent args)
 {
     if (component.IsIncapacitated())
     {
         args.Cancel();
     }
 }
Exemple #2
0
 private void HandleStand(EntityUid uid, SharedBuckleComponent component, StandAttemptEvent args)
 {
     if (component.Buckled)
     {
         args.Cancel();
     }
 }