void StartGame_Click(object sender, EventArgs e) { if (!game.Running) { game.Start(Player.Console, "", int.MaxValue); } UpdateButtons(); }
protected virtual void HandleStart(Player p, RoundsGame game, string[] args) { if (game.Running) { p.Message("{0} is already running", game.GameName); return; } string map = args.Length > 1 ? args[1] : ""; game.Start(p, map, int.MaxValue); }