Пример #1
0
 static public void TriggerTraps()
 {
     if (s_trapsState == TrapState.Armed)
     {
         if (s_singleton.isServer)
         {
             s_singleton.RpcActivateTraps();
             s_singleton.ActivateTraps();
         }
         else
         {
             s_singleton.CmdActivateTraps();
         }
     }
 }