From f72bc04aae6ab204faf1c5d16167490c012c35cc Mon Sep 17 00:00:00 2001 From: !j0 <89746056+j0912345@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:50:47 -0700 Subject: [PATCH] fixed console spam I forgot to remove spam prints to the console. --- Plugin.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Plugin.cs b/Plugin.cs index 77702ff..bc7a187 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -160,7 +160,7 @@ public Tuple, List> calculateHitBoxShapeC if (currBox == null) { - Logger.LogWarning("inputDPhysBoxDict.Values.ToList()[i] == null, removing from array. a round probably ended."); + //Logger.LogWarning("inputDPhysBoxDict.Values.ToList()[i] == null, removing from array. a round probably ended."); inputDPhysBoxDict.Remove(inputDPhysBoxDict.Keys.ToList()[i]); continue; } @@ -393,7 +393,6 @@ public void deleteGameObjectsAfterIndex(int baseIndex) var amountOfObjsToDelete = gameObjsList.Count - baseIndex; for (int i = 0; i < amountOfObjsToDelete; i++) { - Plugin.AddExternalLogPrintToQueue("current deleting index: "+(baseIndex).ToString() ); var currGameObj = gameObjsList[baseIndex]; gameObjsList.Remove(currGameObj); GameObject.Destroy(currGameObj); @@ -648,11 +647,9 @@ public static void drawLineGroupAsSplitIntoIndividualLines(List amountOfUsedHolderObjs++; } } - Plugin.AddExternalLogPrintToQueue(holderGameObjs.gameObjsList.Count.ToString() + "|" + amountOfUsedHolderObjs.ToString()); // clean up any unused game objects if ((amountOfUsedHolderObjs < holderGameObjs.gameObjsList.Count) && (holderGameObjs.gameObjsList.Count > holderGameObjs.minCapacity)) { - Plugin.AddExternalLogPrintToQueue("deleting after: "+ holderGameObjs.minCapacity.ToString() ); holderGameObjs.deleteGameObjectsAfterIndex(holderGameObjs.minCapacity); } // clear LineRenderer positions on any unused gameObjects, so that we don't get old lines still displaying on screen