Fix #12973: Don't exclude high score after using sandbox

This commit is contained in:
Da-W1nn3r
2024-10-14 16:57:07 +11:00
committed by Kuhnovic
parent ce641af6a9
commit d6aa09f96a
3 changed files with 0 additions and 21 deletions
-3
View File
@@ -56,9 +56,6 @@ StringID EndGameGetPerformanceTitleFromValue(uint value)
*/
int8_t SaveHighScoreValue(const Company *c)
{
/* Exclude cheaters from the honour of being in the highscore table */
if (CheatHasBeenUsed()) return -1;
auto &highscores = _highscore_table[SP_CUSTOM];
uint16_t score = c->old_economy[0].performance_history;