bugfix blizzard

This commit is contained in:
Pedro Gomes 2024-07-01 22:04:18 +01:00
parent 001bd2095a
commit c44bedc466

View File

@ -77,7 +77,7 @@ public class NetworkedAreaOfEffect : MonoBehaviour, IPunObservable
protected virtual void CheckSurroundings() protected virtual void CheckSurroundings()
{ {
hits = Physics.OverlapSphere(this.transform.position, radius, abilityHitLayer); hits = Physics.OverlapSphere(this.transform.position, radius, abilityHitLayer);
targets.Clear();
foreach (Collider collider in hits) foreach (Collider collider in hits)
{ {
Debug.Log("hit collider " + collider.name); Debug.Log("hit collider " + collider.name);