void StopGame_Click(object sender, EventArgs e) { if (game.Running) { game.End(); } UpdateButtons(); }
protected void HandleStop(Player p, RoundsGame game) { if (!game.Running) { p.Message("{0} is not running", game.GameName); } else { game.End(); Chat.MessageGlobal(game.GameName + " has ended! We hope you had fun!"); } }