aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r--nGJ2019/Assets/Scripts/DragonMovement.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scripts/DragonMovement.cs b/nGJ2019/Assets/Scripts/DragonMovement.cs
index 9b1971a..850ea2a 100644
--- a/nGJ2019/Assets/Scripts/DragonMovement.cs
+++ b/nGJ2019/Assets/Scripts/DragonMovement.cs
@@ -292,6 +292,7 @@ public class DragonMovement : MonoBehaviour
{
if(hurtCooldown <= 0)
{
+ GetComponent<AudioSource>().Play();
healthBar.health--;
if(healthBar.health == 0)
{