File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public static async Task LoadFile(string filename, bool re = false)
122122 dialog . ShowDialog ( ) ;
123123 await t ;
124124 ModLoader . Initalize ( ) ;
125- if ( Main . Settings . LoadPos == "" )
125+ if ( Main . Settings . LoadPos == "" && ! re )
126126 {
127127 var result = MessageBox . Show ( Application . Current . FindResource ( "LoadPath" ) . ToString ( ) ,
128128 Application . Current . FindResource ( "LoadPath" ) . ToString ( ) , MessageBoxButton . YesNo , MessageBoxImage . Question ) ;
@@ -149,6 +149,7 @@ public static async Task<bool> DoSaveDialog()
149149 await SaveFile ( dlg . FileName ) ;
150150 return true ;
151151 }
152+ else await LoadFile ( DataPath , true ) ;
152153 return false ;
153154 }
154155 public static async Task SaveFile ( string filename )
@@ -223,6 +224,7 @@ public static async Task SaveFile(string filename)
223224 } ) ;
224225 dialog . ShowDialog ( ) ;
225226 await t ;
227+ await LoadFile ( DataPath , true ) ;
226228 ModLoader . LoadFiles ( ) ;
227229 if ( Main . Settings . SavePos == "" )
228230 {
You can’t perform that action at this time.
0 commit comments