From dfa5a7eb8081d66484cd0f7dafaa8036cef1c2fe Mon Sep 17 00:00:00 2001 From: SamuXarick <43006711+SamuXarick@users.noreply.github.com> Date: Sat, 15 Feb 2025 15:18:46 +0000 Subject: [PATCH] Fix #13519, e4c511d: Select chosen AI/GS version, not the highest compatible version --- src/script/script_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/script_gui.cpp b/src/script/script_gui.cpp index d2ef7819a9..0202d1285a 100644 --- a/src/script/script_gui.cpp +++ b/src/script/script_gui.cpp @@ -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) {