- Timestamp:
- Dec 14, 2016, 1:39:14 PM (8 years ago)
- Location:
- code/branches/Presentation_HS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS16
- Property svn:mergeinfo changed
/code/branches/Highscore_HS16 (added) merged: 11226,11233,11235,11245,11254,11265,11267,11304,11313,11315,11324,11326,11333
- Property svn:mergeinfo changed
-
code/branches/Presentation_HS16/src/modules/dodgerace/DodgeRace.cc
r11071 r11339 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.