public static void QuitGame_Postfix(bool quitToDesktop) { if (GameModeUtils.IsPermadeath()) { KnownTechFixer.SaveAddedNotifications(); ConstructableFixer.SaveLadderDirections(); } }
public static bool Load_Prefix(MainMenuLoadButton __instance) { // Load added notifications if needed. if (!__instance.IsEmpty()) { KnownTechFixer.LoadAddedNotifications(__instance.saveGame); } // Give back execution to original function. return(true); }
public static void SaveGame_Postfix() { KnownTechFixer.SaveAddedNotifications(); }
public static void SaveGame_Postfix() { KnownTechFixer.SaveAddedNotifications(); ConstructableFixer.SaveLadderDirections(); }