diff --git a/example/confirm.gui_script b/example/confirm.gui_script index 78e3e54..2dc690b 100644 --- a/example/confirm.gui_script +++ b/example/confirm.gui_script @@ -18,7 +18,7 @@ function on_input(self, action_id, action) if action_id == hash("touch") and action.released then if gui.pick_node(self.yes, action.x, action.y) then print("yes") - monarch.show(monarch.data(hash("confirm")).next, nil, nil, function() + monarch.show(monarch.data("confirm").next, nil, nil, function() print("next screen show done") end) elseif gui.pick_node(self.no, action.x, action.y) then