From 0c4d446d1cdc5fb44b570b736461b9ab53d6e171 Mon Sep 17 00:00:00 2001 From: starfish <50672801+starfi5h@users.noreply.github.com> Date: Sun, 9 Jul 2023 14:48:15 +0800 Subject: [PATCH] Remove debug log --- NebulaPatcher/Patches/Dynamic/FactoryAudio_Patch.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/NebulaPatcher/Patches/Dynamic/FactoryAudio_Patch.cs b/NebulaPatcher/Patches/Dynamic/FactoryAudio_Patch.cs index ed0921280..6151b7093 100644 --- a/NebulaPatcher/Patches/Dynamic/FactoryAudio_Patch.cs +++ b/NebulaPatcher/Patches/Dynamic/FactoryAudio_Patch.cs @@ -14,7 +14,6 @@ public static bool OnEntityBuild_Prefix(FactoryAudio __instance, int objId) if (Multiplayer.IsActive && Multiplayer.Session.Factories.IsIncomingRequest.Value && objId > 0) { Vector3 pos = __instance.planet.factory.entityPool[objId].pos; - NebulaModel.Logger.Log.Debug((pos - GameMain.mainPlayer.position).sqrMagnitude + " " + (__instance.planet.radius * __instance.planet.radius / 4)); if ((pos - GameMain.mainPlayer.position).sqrMagnitude > (__instance.planet.radius * __instance.planet.radius / 4)) { // Don't make sounds if distance is over half of the planet radius