From 0a4f512761c690e383f1206479c8dcccdfa2c4c8 Mon Sep 17 00:00:00 2001 From: Fluto Date: Sat, 20 Aug 2022 15:13:47 +1000 Subject: [PATCH] Fix for Taiko Mono builds --- TakoTako/Patches/AutomaticallyStartGamePatch.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TakoTako/Patches/AutomaticallyStartGamePatch.cs b/TakoTako/Patches/AutomaticallyStartGamePatch.cs index 13f631e..96c75aa 100644 --- a/TakoTako/Patches/AutomaticallyStartGamePatch.cs +++ b/TakoTako/Patches/AutomaticallyStartGamePatch.cs @@ -1,7 +1,10 @@ using System.Diagnostics.CodeAnalysis; using HarmonyLib; +#if TAIKO_IL2CPP using Il2CppMicrosoft.Xbox; - +#elif TAIKO_MONO +using Microsoft.Xbox; +#endif namespace TakoTako.Patches; [HarmonyPatch]