mirror of https://github.com/OpenTTD/OpenTTD
Fix #13519, e4c511d: Select chosen AI/GS version, not the highest compatible version
parent
ac8b236885
commit
dfa5a7eb80
|
@ -172,7 +172,7 @@ struct ScriptListWindow : public Window {
|
||||||
} else {
|
} else {
|
||||||
ScriptInfoList::const_iterator it = this->info_list->cbegin();
|
ScriptInfoList::const_iterator it = this->info_list->cbegin();
|
||||||
std::advance(it, this->selected);
|
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 (_game_mode == GM_EDITOR) {
|
||||||
if (this->slot == OWNER_DEITY) {
|
if (this->slot == OWNER_DEITY) {
|
||||||
|
|
Loading…
Reference in New Issue