changeset 673 | bd82104a28af |
parent 660 | 7c155e849602 |
child 681 | 7a20c50988ec |
672:08ed55ea1e2a | 673:bd82104a28af |
---|---|
47 } |
47 } |
48 |
48 |
49 void HWGame::onClientDisconnect() |
49 void HWGame::onClientDisconnect() |
50 { |
50 { |
51 switch (gameType) { |
51 switch (gameType) { |
52 case gtDemo: |
|
53 break; |
|
54 case gtNet: |
52 case gtNet: |
55 emit HaveRecord(true, demo); |
53 emit HaveRecord(true, demo); |
56 break; |
54 break; |
57 default: |
55 default: |
58 if (gameState == gsInterrupted) emit HaveRecord(false, demo); |
56 if (gameState == gsInterrupted) emit HaveRecord(false, demo); |