changeset 5781 | 1fa54e5ea479 |
parent 5772 | c09c50efe8b5 |
child 5865 | 35387d27f73a |
--- a/QTfrontend/game.cpp Mon Sep 05 15:49:14 2011 +0400 +++ b/QTfrontend/game.cpp Mon Sep 05 15:51:32 2011 +0400 @@ -53,7 +53,9 @@ void HWGame::onClientDisconnect() { switch (gameType) { - case gtDemo: break; + case gtDemo: + if (gameState == gsInterrupted || gameState == gsHalted) emit HaveRecord(false, demo); + break; case gtNet: emit HaveRecord(true, demo); break;