Ejemplo n.º 1
0
 public void StopCommand(CommandArgs args)
 {
     if (CahGame.gameState == GameState.NotStarted)
     {
         args.Player.SendErrorMessage("The game isn't running!");
         return;
     }
     args.Player.SendInfoMessage("You have stopped the game!");
     Utils.CahBroadcast($"{args.Player.Name} has stopped the game!");
     CahGame.Stop();
 }