summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorcursed22bc <admin@pixeldawn.org>2026-03-10 21:26:24 +0200
committercursed22bc <admin@pixeldawn.org>2026-03-10 21:26:24 +0200
commit70b6d2a335a40ae60e990cc5f37b828ed9dbf526 (patch)
tree025b946feae41782f2cddb57e444e05cc6f9ac39 /main.lua
parenta64d77bc12cadb3989a7faf094adc1d5c581d565 (diff)
pickups
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index c3ecedf..0d66c98 100644
--- a/main.lua
+++ b/main.lua
@@ -90,7 +90,8 @@ end
function states.hud.update(dt)
if hud then
local w, h = love.graphics.getWidth(), love.graphics.getHeight()
- hud:update(dt, w, h, finalScale)
+ local player = world and world:getPlayer()
+ hud:update(dt, w, h, finalScale, player)
end
end