remove whitespaces
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user