aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nGJ2019/Assets/Scripts/DragonMovement.cs')
-rw-r--r--nGJ2019/Assets/Scripts/DragonMovement.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGJ2019/Assets/Scripts/DragonMovement.cs b/nGJ2019/Assets/Scripts/DragonMovement.cs
index 4ba179d..9ae8fbb 100644
--- a/nGJ2019/Assets/Scripts/DragonMovement.cs
+++ b/nGJ2019/Assets/Scripts/DragonMovement.cs
@@ -205,7 +205,7 @@ public class DragonMovement : MonoBehaviour
EnemyCollider enemy = other.gameObject.GetComponent<EnemyCollider>();
if(enemy != null)
{
- Debug.Log(enemy.type == ObstacleType.alfa ? "alfa hit" : "beta hit");
+ Debug.Log(enemy.type == ObstacleType.narrowPassage ? "alfa hit" : "beta hit");
healthBar.health--;
}
}