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