QTfrontend/game.cpp
changeset 1490 4eb4fc12cc30
parent 1369 f5b1b3fd70cc
child 1576 a02353129a41
equal deleted inserted replaced
1489:3e5c26b18fce 1490:4eb4fc12cc30
    46 }
    46 }
    47 
    47 
    48 void HWGame::onClientDisconnect()
    48 void HWGame::onClientDisconnect()
    49 {
    49 {
    50 	switch (gameType) {
    50 	switch (gameType) {
       
    51 		case gtDemo: break;
    51 		case gtNet:
    52 		case gtNet:
    52 			emit HaveRecord(true, demo);
    53 			emit HaveRecord(true, demo);
    53 			break;
    54 			break;
    54 		default:
    55 		default:
    55 			if (gameState == gsInterrupted) emit HaveRecord(false, demo);
    56 			if (gameState == gsInterrupted) emit HaveRecord(false, demo);