diff --git a/Assets/Mirror/Examples/Tanks/Scripts/Projectile.cs b/Assets/Mirror/Examples/Tanks/Scripts/Projectile.cs index 28a866e18..165729f01 100644 --- a/Assets/Mirror/Examples/Tanks/Scripts/Projectile.cs +++ b/Assets/Mirror/Examples/Tanks/Scripts/Projectile.cs @@ -27,7 +27,6 @@ void DestroySelf() // return to prefab pool NetworkServer.UnSpawn(gameObject); PrefabPool.singleton.Return(gameObject); - Debug.Log("[Server]: Returned projectile to pool"); //NetworkServer.Destroy(gameObject); } diff --git a/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs b/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs index ad6203a2b..88cdd70f2 100644 --- a/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs +++ b/Assets/Mirror/Examples/Tanks/Scripts/Tank.cs @@ -56,7 +56,6 @@ void Update() void CmdFire() { GameObject projectile = PrefabPool.singleton.Get(projectileMount.position, projectileMount.rotation); - Debug.Log("[Server]: Got projectile from pool"); NetworkServer.Spawn(projectile); RpcOnFire(); }