Skip to content
Snippets Groups Projects
Commit 724bd24d authored by biwa's avatar biwa
Browse files

Fixed a problem where the last used game configuration was not saved for the new map dialog

parent f8c6e789
No related branches found
No related tags found
No related merge requests found
...@@ -188,6 +188,12 @@ namespace CodeImp.DoomBuilder.Windows ...@@ -188,6 +188,12 @@ namespace CodeImp.DoomBuilder.Windows
datalocations.Focus(); datalocations.Focus();
return; 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 // Next checks are only for maps that are already opened
if(!newmap) if(!newmap)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment