diff options
author | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-10-26 20:20:11 +0100 |
---|---|---|
committer | Fernando Carmona Varo <ferkiwi@gmail.com> | 2015-10-26 20:20:11 +0100 |
commit | a593cc543219453baee971860072d286f4c2c24c (patch) | |
tree | 1b57dd4eaa2af185ffb3d3961048121172af4e0a /pacmine/hud.lua | |
parent | 23814830b04f778e6c2ca655d28644a39f4d3d2f (diff) |
Added game logic to the mini board
Diffstat (limited to 'pacmine/hud.lua')
-rwxr-xr-x | pacmine/hud.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacmine/hud.lua b/pacmine/hud.lua index 1598a2b..8fb9e0c 100755 --- a/pacmine/hud.lua +++ b/pacmine/hud.lua @@ -11,7 +11,7 @@ function pacmine.update_hud(id, player) pacmine.remove_hud(player) return end - local pellets_left = 252 - game.pellet_count + local pellets_left = game.pellet_total - game.pellet_count local hudtext = "Score " .. game.score .. "\nLevel " .. game.level .. "\nLives " .. game.lives |