Change: [Script] Use company randomizer when adding random deviation (#12065)

This commit is contained in:
Loïc Guilloux
2024-02-11 19:58:41 +01:00
committed by GitHub
parent 378dab3750
commit 8d9fa0ea89
4 changed files with 5 additions and 5 deletions

View File

@@ -56,7 +56,7 @@
/* Load default data and store the name in the settings */
config->Change(info->GetName(), -1, false);
}
if (deviate) config->AddRandomDeviation();
if (deviate) config->AddRandomDeviation(company);
config->AnchorUnchangeableSettings();
c->ai_info = info;