Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -262,8 +262,6 @@ static void InitializeWindowsAndCaches()
|
||||
UpdateAllVirtCoords();
|
||||
ResetViewportAfterLoadGame();
|
||||
|
||||
ScriptObject::InitializeRandomizers();
|
||||
|
||||
for (Company *c : Company::Iterate()) {
|
||||
/* For each company, verify (while loading a scenario) that the inauguration date is the current year and set it
|
||||
* accordingly if it is not the case. No need to set it on companies that are not been used already,
|
||||
@@ -3331,6 +3329,10 @@ bool AfterLoadGame()
|
||||
}
|
||||
}
|
||||
|
||||
if (IsSavegameVersionBefore(SLV_SCRIPT_RANDOMIZER)) {
|
||||
ScriptObject::InitializeRandomizers();
|
||||
}
|
||||
|
||||
for (Company *c : Company::Iterate()) {
|
||||
UpdateCompanyLiveries(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user