From e9b43d33217675d2a785d0c00ad18da476fb164f Mon Sep 17 00:00:00 2001 From: Hazim Bin Ijaz Date: Wed, 18 Dec 2024 18:45:22 +0500 Subject: [PATCH] Update SlowZonePrefab.cs --- Assets/Scripts/Gameplay/SlowZonePrefab.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Gameplay/SlowZonePrefab.cs b/Assets/Scripts/Gameplay/SlowZonePrefab.cs index 4eaa2f6..06edb56 100644 --- a/Assets/Scripts/Gameplay/SlowZonePrefab.cs +++ b/Assets/Scripts/Gameplay/SlowZonePrefab.cs @@ -38,12 +38,12 @@ public class SlowZonePrefab : NetworkBehaviour if (collider.TryGetComponent(out var player)) { // Check if the player is NOT the crow - // if (!player.IsCrow) - // { + if (!player.IsCrow) + { // Apply slow effect StartCoroutine(SlowPlayer(player)); Debug.Log($"{player.name} is slowed down!"); - // } + } } } }