--- a/QTfrontend/game.cpp Sat Jan 13 22:12:30 2007 +0000
+++ b/QTfrontend/game.cpp Sat Jan 13 22:32:08 2007 +0000
@@ -44,7 +44,7 @@
void HWGame::onClientDisconnect()
{
SaveDemo(cfgdir->absolutePath() + "/Demos/LastRound.hwd_" + cProtoVer);
- emit GameStateChanged(gsFinished);
+ emit GameStateChanged(gsStopped);
}
void HWGame::SendTeamConfig(int index)
@@ -157,6 +157,14 @@
emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3)));
break;
}
+ case 'Q': {
+ emit GameStateChanged(gsInterrupted);
+ break;
+ }
+ case 'q': {
+ emit GameStateChanged(gsFinished);
+ break;
+ }
default: {
if (gameType == gtNet)
{