1
0
mirror of synced 2024-11-24 06:20:11 +01:00
TaikoModStuff/OfflineSaveLoad.cs
2022-05-24 03:09:36 -06:00

17 lines
784 B
C#

using HarmonyLib;
namespace TaikoModStuff
{
[HarmonyPatch]
public class OfflineSaveLoad
{
[HarmonyPatch(typeof(GameTitleManager), "Start")]
[HarmonyPostfix]
private static void BootManager_Postfix(GameTitleManager __instance)
{
TaikoSingletonMonoBehaviour<CommonObjects>.Instance.MyDataManager.PlayData.LoadData("x_game_save_default_container", "save_data_blob");
TaikoSingletonMonoBehaviour<CommonObjects>.Instance.MyDataManager.PlayData.LoadData("x_game_save_default_container", "system_data_blob");
TaikoSingletonMonoBehaviour<CommonObjects>.Instance.MySceneManager.ChangeScene("SongSelect", false);
}
}
}