mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-29 15:14:33 +01:00
Fix #12973: Don't exclude high score after using sandbox
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user