File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ internal static void Main(string[] args)
4242
4343 SetupLibraryLoading ( ) ;
4444
45- EnsureDirectories ( ) ;
46-
4745 // this is weird, but it prevents Mono from having issues loading the type.
4846 // IMPORTANT: NO CALLS TO ANY LOGGER CAN HAPPEN BEFORE THIS
4947 var unused = StandardLogger . PrintFilter ;
@@ -57,16 +55,18 @@ internal static void Main(string[] args)
5755
5856 Default . Debug ( "Initializing logger" ) ;
5957
60- SelfConfig . Load ( ) ;
61- DisabledConfig . Load ( ) ;
62-
6358 if ( AntiPiracy . IsInvalid ( Environment . CurrentDirectory ) )
6459 {
6560 Default . Error ( "Invalid installation; please buy the game to run BSIPA." ) ;
6661
6762 return ;
6863 }
6964
65+ EnsureDirectories ( ) ;
66+
67+ SelfConfig . Load ( ) ;
68+ DisabledConfig . Load ( ) ;
69+
7070 CriticalSection . Configure ( ) ;
7171
7272 Logging . Logger . Injector . Debug ( "Prepping bootstrapper" ) ;
You can’t perform that action at this time.
0 commit comments