File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public static async Task LoadFile(string filename, bool re = false)
122
122
dialog . ShowDialog ( ) ;
123
123
await t ;
124
124
ModLoader . Initalize ( ) ;
125
- if ( Main . Settings . LoadPos == "" )
125
+ if ( Main . Settings . LoadPos == "" && ! re )
126
126
{
127
127
var result = MessageBox . Show ( Application . Current . FindResource ( "LoadPath" ) . ToString ( ) ,
128
128
Application . Current . FindResource ( "LoadPath" ) . ToString ( ) , MessageBoxButton . YesNo , MessageBoxImage . Question ) ;
@@ -149,6 +149,7 @@ public static async Task<bool> DoSaveDialog()
149
149
await SaveFile ( dlg . FileName ) ;
150
150
return true ;
151
151
}
152
+ else await LoadFile ( DataPath , true ) ;
152
153
return false ;
153
154
}
154
155
public static async Task SaveFile ( string filename )
@@ -223,6 +224,7 @@ public static async Task SaveFile(string filename)
223
224
} ) ;
224
225
dialog . ShowDialog ( ) ;
225
226
await t ;
227
+ await LoadFile ( DataPath , true ) ;
226
228
ModLoader . LoadFiles ( ) ;
227
229
if ( Main . Settings . SavePos == "" )
228
230
{
You can’t perform that action at this time.
0 commit comments