This commit is contained in:
Aaro Varis
2025-03-14 21:30:03 +02:00
parent 95cd554eb0
commit 104c52c183
5 changed files with 26 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ namespace BoneSync.Patching
[HarmonyPatch(typeof(BoneworksSceneManager))]
internal class SceneManagerPatches
{
[HarmonyPatch(nameof(BoneworksSceneManager.LoadScene), new Type[] { typeof(int) }), HarmonyPrefix]
/*[HarmonyPatch(nameof(BoneworksSceneManager.LoadScene), new Type[] { typeof(int) }), HarmonyPrefix]
private static void LoadSceneIndexPrefix(int sceneBuildIndex)
{
SyncLogger.Msg("LoadScenePrefix: " + sceneBuildIndex);
@@ -36,6 +36,6 @@ namespace BoneSync.Patching
//SyncLogger.Msg("Host is loading scene, sending message to clients...");
//SceneSync.SendSceneSyncMessage(sceneName);
}
}
}*/
}
}