Log messages have been added for LoadMap.

This commit is contained in:
jadis0x
2023-01-12 21:46:02 +03:00
committed by GitHub
parent ea9a4e13ab
commit 929aaeacd0

View File

@@ -34,10 +34,12 @@
if (Il2CppPhoton.Bolt.BoltNetwork.IsServer) if (Il2CppPhoton.Bolt.BoltNetwork.IsServer)
{ {
Il2CppPhoton.Bolt.BoltNetwork.LoadScene(mapName); Il2CppPhoton.Bolt.BoltNetwork.LoadScene(mapName);
MelonLoader.MelonLogger.Warning("Please press the button only once, it may take some time for the map to load.");
} }
else else
{ {
DevourClient.Hacks.Misc.ShowMessageBox("You must be the host to use this command!"); MelonLoader.MelonLogger.Warning("You must be the host to use this command!");
} }
} }
} }