--- a/QTfrontend/game.cpp Wed Oct 26 01:17:44 2011 +0200
+++ b/QTfrontend/game.cpp Wed Oct 26 01:50:08 2011 +0200
@@ -390,13 +390,9 @@
emit GameStateChanged(state);
}
-void HWGame::KillAllTeams()
+void HWGame::abort()
{
- if (m_pTeamSelWidget)
- {
- QByteArray buf;
- foreach(HWTeam team, m_pTeamSelWidget->getPlayingTeams())
- HWProto::addStringToBuffer(buf, QString("eteamgone %1").arg(team.name()));
- RawSendIPC(buf);
- }
+ QByteArray buf;
+ HWProto::addStringToBuffer(buf, QString("efinish"));
+ RawSendIPC(buf);
}