diff --git a/Assets/Scripts/Players/Player.cs b/Assets/Scripts/Players/Player.cs index 447cc8d..447fd60 100644 --- a/Assets/Scripts/Players/Player.cs +++ b/Assets/Scripts/Players/Player.cs @@ -155,7 +155,7 @@ namespace NeonTea.Quakeball.Players { Vector3 From = CameraRoot.position; Vector3 Direction = CameraRoot.forward; - RaycastHit[] Hits = Physics.RaycastAll(From, Direction, BulletHitLayer); + RaycastHit[] Hits = Physics.RaycastAll(From, Direction, 1000f, BulletHitLayer); foreach (RaycastHit Hit in Hits) { Player Player = Hit.rigidbody != null ? Hit.rigidbody.GetComponent() : null; if (Player == this) {