summaryrefslogtreecommitdiff
path: root/pacmine/hud.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pacmine/hud.lua')
-rwxr-xr-xpacmine/hud.lua2
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