1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-27 14:14:27 +01:00

Change: Remove the limit of 20 parameters to a Script Text string. (#14193)

This commit is contained in:
Peter Nelson
2025-05-03 18:33:29 +01:00
committed by GitHub
parent 518a34c286
commit bd1a3fe0b7
5 changed files with 59 additions and 25 deletions

View File

@@ -50,9 +50,9 @@ void GameInstance::RegisterAPI()
/* Register all classes */
SQGS_RegisterAll(*this->engine);
RegisterGameTranslation(*this->engine);
if (!this->LoadCompatibilityScripts(GAME_DIR, GameInfo::ApiVersions)) this->Died();
RegisterGameTranslation(*this->engine);
}
int GameInstance::GetSetting(const std::string &name)