From 0b8a8e2a7f3fd9b56184420b5cbf804ce38ecba7 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 18 Aug 2022 12:11:17 +0100 Subject: [PATCH] remove player creation logs --- QSB/PlayerBodySetup/Local/LocalPlayerCreation.cs | 4 ---- QSB/PlayerBodySetup/Remote/RemotePlayerCreation.cs | 10 ---------- 2 files changed, 14 deletions(-) diff --git a/QSB/PlayerBodySetup/Local/LocalPlayerCreation.cs b/QSB/PlayerBodySetup/Local/LocalPlayerCreation.cs index 8cf823e4..ea8deefd 100644 --- a/QSB/PlayerBodySetup/Local/LocalPlayerCreation.cs +++ b/QSB/PlayerBodySetup/Local/LocalPlayerCreation.cs @@ -4,9 +4,7 @@ using QSB.Player; using QSB.Player.Messages; using QSB.SectorSync; using QSB.Tools; -using QSB.Utility; using QSB.WorldSync; -using System.Linq; using UnityEngine; namespace QSB.PlayerBodySetup.Local; @@ -21,8 +19,6 @@ public static class LocalPlayerCreation out Transform visibleStickPivot, out Transform visibleStickTip) { - DebugLog.DebugWrite($"CREATE PLAYER"); - sectorDetector.Init(Locator.GetPlayerSectorDetector()); // player body diff --git a/QSB/PlayerBodySetup/Remote/RemotePlayerCreation.cs b/QSB/PlayerBodySetup/Remote/RemotePlayerCreation.cs index 5f543ac6..2fe62c0f 100644 --- a/QSB/PlayerBodySetup/Remote/RemotePlayerCreation.cs +++ b/QSB/PlayerBodySetup/Remote/RemotePlayerCreation.cs @@ -33,14 +33,10 @@ public static class RemotePlayerCreation out Transform visibleStickPivot, out Transform visibleStickTip) { - DebugLog.DebugWrite($"CREATE PLAYER"); - /* * CREATE PLAYER STRUCTURE */ - DebugLog.DebugWrite($"CREATE PLAYER STRUCTURE"); - // Variable naming convention is broken here to reflect OW unity project (with REMOTE_ prefixed) for readability var REMOTE_Player_Body = Object.Instantiate(GetPrefab()); @@ -54,8 +50,6 @@ public static class RemotePlayerCreation * SET UP PLAYER BODY */ - DebugLog.DebugWrite($"SET UP PLAYER BODY"); - player.Body = REMOTE_Player_Body; player.ThrusterLightTracker = player.Body.GetComponentInChildren(); player.FluidDetector = REMOTE_PlayerDetector.GetComponent(); @@ -72,8 +66,6 @@ public static class RemotePlayerCreation * SET UP PLAYER CAMERA */ - DebugLog.DebugWrite($"SET UP PLAYER CAMERA"); - REMOTE_PlayerCamera.GetComponent().enabled = false; var owcamera = REMOTE_PlayerCamera.GetComponent(); player.Camera = owcamera; @@ -88,8 +80,6 @@ public static class RemotePlayerCreation * SET UP ROASTING STICK */ - DebugLog.DebugWrite($"SET UP ROASTING STICK"); - var REMOTE_Stick_Pivot = REMOTE_Stick_Root.transform.GetChild(0); var mallowRoot = REMOTE_Stick_Pivot.Find("REMOTE_Stick_Tip/Mallow_Root"); var newSystem = mallowRoot.Find("MallowSmoke").gameObject.GetComponent();