Fix loading of pre-selected AIs from config file

This commit is contained in:
Jonathan G Rennison 2024-01-09 17:48:44 +00:00
parent 6492cec113
commit 14db9b2854

View File

@ -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;
}
}