Update SlowZonePrefab.cs

main
Hazim Bin Ijaz 1 month ago
parent 281bb6e87c
commit e9b43d3321

@ -38,12 +38,12 @@ public class SlowZonePrefab : NetworkBehaviour
if (collider.TryGetComponent<ServerCharacter>(out var player)) if (collider.TryGetComponent<ServerCharacter>(out var player))
{ {
// Check if the player is NOT the crow // Check if the player is NOT the crow
// if (!player.IsCrow) if (!player.IsCrow)
// { {
// Apply slow effect // Apply slow effect
StartCoroutine(SlowPlayer(player)); StartCoroutine(SlowPlayer(player));
Debug.Log($"{player.name} is slowed down!"); Debug.Log($"{player.name} is slowed down!");
// } }
} }
} }
} }

Loading…
Cancel
Save