Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LordUbuntu committed May 29, 2020
1 parent d389074 commit 1d1bdef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ function love.update(dt)
score = score + 1
enemies.anger = enemies.anger + 1
end
if pl.hp < 0 then -- end game if player dies
love.event.push("game_over")
end
end
if pl.hp < 0 then -- end game if player dies
love.event.push("game_over")
end

-- apply powerups to player on pickup
Expand Down

0 comments on commit 1d1bdef

Please sign in to comment.