QTfrontend/game.cpp
changeset 6211 ee9465c0ea82
parent 6024 d38da7c19e43
child 6217 ef53ba841791
--- 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);
 }