mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
Fix loading of pre-selected AIs from config file
This commit is contained in:
parent
6492cec113
commit
14db9b2854
@ -2097,6 +2097,8 @@ static void AILoadConfig(const IniFile &ini, const char *grpname)
|
||||
}
|
||||
}
|
||||
if (item.value.has_value()) config->StringToSettings(*item.value);
|
||||
c++;
|
||||
if (c >= MAX_COMPANIES) break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user