diff options
Diffstat (limited to 'objects/Player.lua')
| -rw-r--r-- | objects/Player.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/objects/Player.lua b/objects/Player.lua index b1f43f4..a91be76 100644 --- a/objects/Player.lua +++ b/objects/Player.lua @@ -98,6 +98,7 @@ function Player:onContact(other, contact) -- if collision occurs, take it as an attack if other.objectType == "enemy" then if not (other.stunned or self:isShielded()) then + audio.play("getsHit") table.remove(self.hearts) -- shield this player self.shieldedTill = G.time + config.playerShieldTime |
