File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ public static LootLockerConfig Get()
23
23
if ( settingsInstance != null )
24
24
{
25
25
settingsInstance . ConstructUrls ( ) ;
26
- settingsInstance ? . CheckForSettingOverrides ( ) ;
26
+ #if LOOTLOCKER_COMMANDLINE_SETTINGS
27
+ settingsInstance . CheckForSettingOverrides ( ) ;
28
+ #endif
27
29
return settingsInstance ;
28
30
}
29
31
@@ -60,8 +62,10 @@ public static LootLockerConfig Get()
60
62
throw new ArgumentException ( "LootLocker config does not exist. To fix this, play once in the Unity Editor before making a build." ) ;
61
63
}
62
64
#endif
63
- settingsInstance ? . ConstructUrls ( ) ;
64
- settingsInstance ? . CheckForSettingOverrides ( ) ;
65
+ settingsInstance . ConstructUrls ( ) ;
66
+ #if LOOTLOCKER_COMMANDLINE_SETTINGS
67
+ settingsInstance . CheckForSettingOverrides ( ) ;
68
+ #endif
65
69
return settingsInstance ;
66
70
}
67
71
You can’t perform that action at this time.
0 commit comments