4
0

remove whitespaces

This commit is contained in:
2025-12-09 21:46:18 +01:00
parent a5ed57777a
commit 7c5997cd00

View File

@@ -782,9 +782,7 @@ function Player.update()
end
function GameWindow.update()
Player.update() -- Call the encapsulated player update logic
end
function GameWindow.set_state(new_state)
@@ -792,8 +790,6 @@ function GameWindow.set_state(new_state)
-- Add any state-specific initialization/cleanup here later if needed
end
function PopupWindow.set_dialog_node(node_key)
local npc = Context.dialog.active_entity
local node = npc.dialog[node_key]
@@ -894,8 +890,8 @@ local STATE_HANDLERS = {
end,
[WINDOW_POPUP] = function()
GameWindow.draw() -- Draw game behind dialog
PopupWindow.draw()
PopupWindow.update()
PopupWindow.draw()
end,
[WINDOW_INVENTORY] = function()
InventoryWindow.update()