Changeset 11716 for code/trunk/src/modules/tetris
- Timestamp:
- Jan 7, 2018, 9:48:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/tetris/Tetris.cc
r11715 r11716 328 328 this->player_->stopControl(); 329 329 } 330 if (Highscore::exists()){ 331 int score = this->getScore(this->getPlayer()); 332 if(score > Highscore::getInstance().getHighestScoreOfGame("Tetris")) 333 Highscore::getInstance().storeHighscore("Tetris",score,this->getPlayer()); 334 335 } 330 if (Highscore::exists()) 331 { 332 int score = this->getScore(this->getPlayer()); 333 Highscore::getInstance().storeScore("Tetris", score, this->getPlayer()); 334 } 336 335 this->cleanup(); 337 336
Note: See TracChangeset
for help on using the changeset viewer.