diff --git a/BoneSync/BoneSync.csproj b/BoneSync/BoneSync.csproj
index 26d93f2..a6e520a 100644
--- a/BoneSync/BoneSync.csproj
+++ b/BoneSync/BoneSync.csproj
@@ -112,6 +112,7 @@
+
diff --git a/BoneSync/Patching/SceneManagerPatches.cs b/BoneSync/Patching/SceneManagerPatches.cs
new file mode 100644
index 0000000..c90c4e8
--- /dev/null
+++ b/BoneSync/Patching/SceneManagerPatches.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using HarmonyLib;
+using MelonLoader;
+using StressLevelZero.Utilities;
+
+namespace BoneSync.Patching
+{
+ [HarmonyPatch(typeof(BoneworksSceneManager))]
+ internal class SceneManagerPatches
+ {
+ [HarmonyPatch(nameof(BoneworksSceneManager.LoadScene)), HarmonyPostfix]
+ private static void LoadScenePrefix(BoneworksSceneManager __instance, int sceneBuildIndex)
+ {
+ MelonLogger.Msg("LoadScenePrefix: " + sceneBuildIndex);
+ if (!BoneSync.IsConnected) return;
+ if (BoneSync.lobby.IsHost)
+ {
+ MelonLogger.Msg("Host is loading scene, sending message to clients...");
+ }
+ }
+ }
+}