mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
This commit is contained in:
@@ -754,6 +754,11 @@ static void MakeNewGameDone()
|
||||
/* Create a single company */
|
||||
DoStartupNewCompany(false);
|
||||
|
||||
Company *c = GetCompany(COMPANY_FIRST);
|
||||
c->engine_renew = _settings_client.gui.autorenew;
|
||||
c->engine_renew_months = _settings_client.gui.autorenew_months;
|
||||
c->engine_renew_money = _settings_client.gui.autorenew_money;
|
||||
|
||||
IConsoleCmdExec("exec scripts/game_start.scr 0");
|
||||
|
||||
SetLocalCompany(COMPANY_FIRST);
|
||||
|
Reference in New Issue
Block a user