From 724bd24d377a37229842941e3d319d33ebad79f4 Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:24:51 +0200 Subject: [PATCH] Fixed a problem where the last used game configuration was not saved for the new map dialog --- Source/Core/Windows/MapOptionsForm.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Core/Windows/MapOptionsForm.cs b/Source/Core/Windows/MapOptionsForm.cs index 2d1deca33..33354c3d5 100755 --- a/Source/Core/Windows/MapOptionsForm.cs +++ b/Source/Core/Windows/MapOptionsForm.cs @@ -188,6 +188,12 @@ namespace CodeImp.DoomBuilder.Windows datalocations.Focus(); return; } + + // Save the last used config when creating a new map + if (newmap) + { + General.Settings.LastUsedConfigName = configinfo.Name; + } // Next checks are only for maps that are already opened if(!newmap) -- GitLab