From 9baddf74a1a7c3d3221a642fb7c08a3b038935e2 Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Fri, 12 Mar 2021 17:46:01 +0000 Subject: [PATCH] remove extraneous debug logs --- game/Assets/Scripts/Checkpoint/SafeZone.cs | 1 - game/Assets/Scripts/Death & Respawn/PlayerDeath.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/game/Assets/Scripts/Checkpoint/SafeZone.cs b/game/Assets/Scripts/Checkpoint/SafeZone.cs index 76a4811..a83e92d 100644 --- a/game/Assets/Scripts/Checkpoint/SafeZone.cs +++ b/game/Assets/Scripts/Checkpoint/SafeZone.cs @@ -15,7 +15,6 @@ public class SafeZone : MonoBehaviour if (other.gameObject.CompareTag("Player")) { _respawnPosition.Value = other.gameObject.transform.position; - Debug.Log($"set spawn {_respawnPosition}"); } } } \ No newline at end of file diff --git a/game/Assets/Scripts/Death & Respawn/PlayerDeath.cs b/game/Assets/Scripts/Death & Respawn/PlayerDeath.cs index c46650f..3e74dc1 100644 --- a/game/Assets/Scripts/Death & Respawn/PlayerDeath.cs +++ b/game/Assets/Scripts/Death & Respawn/PlayerDeath.cs @@ -22,7 +22,6 @@ public class PlayerDeath : MonoBehaviour yield return new WaitForSeconds(1.5f); // move player to respawn position - Debug.Log($"spawn at {_respawnPosition}"); transform.position = _respawnPosition; // need to wait a bit for the respawn to actually work?? >:v