mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-04 19:01:18 +00:00
Fixed: .dbs map configuration was not loaded when loading a map by dragging a wad file on top of GZDB shortcut/executable.
This commit is contained in:
parent
9220d5df3b
commit
82b868e5f5
2 changed files with 5 additions and 11 deletions
|
@ -449,11 +449,12 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
{
|
||||
bool showdialog = false;
|
||||
MapOptions options = new MapOptions();
|
||||
Configuration mapsettings;
|
||||
|
||||
// Any of the options already given?
|
||||
if(General.AutoLoadMap != null)
|
||||
{
|
||||
Configuration mapsettings;
|
||||
|
||||
// Try to find existing options in the settings file
|
||||
string dbsfile = General.AutoLoadFile.Substring(0, General.AutoLoadFile.Length - 4) + ".dbs";
|
||||
if(File.Exists(dbsfile))
|
||||
|
@ -486,7 +487,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
if(showdialog)
|
||||
{
|
||||
// Show open dialog
|
||||
General.OpenMapFile(General.AutoLoadFile, options);
|
||||
General.OpenMapFile(General.AutoLoadFile, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue