Changeset 11716 for code/trunk/src/modules/towerdefense
- Timestamp:
- Jan 7, 2018, 9:48:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/towerdefense/TowerDefense.cc
r11715 r11716 198 198 void TowerDefense::end() 199 199 { 200 if (Highscore::exists()){ 201 int score = this->getWaveNumber(); 202 if(score > Highscore::getInstance().getHighestScoreOfGame("Tower Defense")) 203 Highscore::getInstance().storeHighscore("Tower Defense",score,this->getPlayer()); 204 205 } 200 if (Highscore::exists()) 201 { 202 int score = this->getWaveNumber(); 203 Highscore::getInstance().storeScore("Tower Defense", score, this->getPlayer()); 204 } 206 205 TeamDeathmatch::end(); 207 206 ChatManager::message("Match is over! Gameover!");
Note: See TracChangeset
for help on using the changeset viewer.