equal
deleted
inserted
replaced
51 } |
51 } |
52 |
52 |
53 void HWGame::onClientDisconnect() |
53 void HWGame::onClientDisconnect() |
54 { |
54 { |
55 switch (gameType) { |
55 switch (gameType) { |
56 case gtDemo: break; |
56 case gtDemo: |
|
57 if (gameState == gsInterrupted || gameState == gsHalted) emit HaveRecord(false, demo); |
|
58 break; |
57 case gtNet: |
59 case gtNet: |
58 emit HaveRecord(true, demo); |
60 emit HaveRecord(true, demo); |
59 break; |
61 break; |
60 default: |
62 default: |
61 if (gameState == gsInterrupted || gameState == gsHalted) emit HaveRecord(false, demo); |
63 if (gameState == gsInterrupted || gameState == gsHalted) emit HaveRecord(false, demo); |