Fix loading of pre-selected AIs from config file
This commit is contained in:
@@ -2097,6 +2097,8 @@ static void AILoadConfig(const IniFile &ini, const char *grpname)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.value.has_value()) config->StringToSettings(*item.value);
|
if (item.value.has_value()) config->StringToSettings(*item.value);
|
||||||
|
c++;
|
||||||
|
if (c >= MAX_COMPANIES) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user