- Timestamp:
- Oct 23, 2017, 3:14:56 PM (7 years ago)
- Location:
- code/branches/HUD_HS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16
- Property svn:mergeinfo changed
-
code/branches/HUD_HS16/src/modules/dodgerace/DodgeRace.cc
r11499 r11502 36 36 #include "DodgeRaceCube.h" 37 37 #include "core/CoreIncludes.h" 38 #include "Highscore.h" 38 39 39 40 namespace orxonox … … 224 225 // It will misteriously crash the game! 225 226 // Instead startMainMenu, this won't crash. 227 if (Highscore::exists()){ 228 int score = this->getPoints(); 229 if(score > Highscore::getInstance().getHighestScoreOfGame("Dodge Race")) 230 Highscore::getInstance().storeHighscore("Dodge Race",score); 231 232 } 226 233 GSLevel::startMainMenu(); 227 234 }
Note: See TracChangeset
for help on using the changeset viewer.