1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-18 20:19:11 +00:00

Fix #13519, e4c511d: Select chosen AI/GS version, not the highest compatible version

This commit is contained in:
SamuXarick
2025-02-15 15:18:46 +00:00
parent ac8b236885
commit dfa5a7eb80

View File

@@ -172,7 +172,7 @@ struct ScriptListWindow : public Window {
} else {
ScriptInfoList::const_iterator it = this->info_list->cbegin();
std::advance(it, this->selected);
GetConfig(this->slot)->Change(it->second->GetName(), it->second->GetVersion());
GetConfig(this->slot)->Change(it->second->GetName(), it->second->GetVersion(), this->show_all);
}
if (_game_mode == GM_EDITOR) {
if (this->slot == OWNER_DEITY) {