haha forgot to push,,,
This commit is contained in:
@@ -13,7 +13,7 @@ namespace undead_universal_patch_il2cpp.Patches.UndeadGameManager;
|
||||
[HarmonyPatch]
|
||||
public class GameConfiguratorPatch
|
||||
{
|
||||
static Dictionary<string, GameConfigurationAssetDTO> gameConfig = GameConfigurator.config.Get();
|
||||
public static Dictionary<string, GameConfigurationAssetDTO> gameConfig = null;
|
||||
|
||||
static PatchTypesResult patchResult = Util.ConfigPreparePatchTypes(
|
||||
GameManagerConfig.StaticGameConfig,
|
||||
@@ -28,6 +28,12 @@ public class GameConfiguratorPatch
|
||||
|
||||
public static void Prefix(ref GameConfigurationAsset config, ref bool showNotification)
|
||||
{
|
||||
if (gameConfig == null)
|
||||
{
|
||||
Util.ConditionalDebug("gameconfigassets was not yet fetched!");
|
||||
return;
|
||||
}
|
||||
|
||||
var conf = config;
|
||||
showNotification = GenericConfig.PatchDebug.Value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user