From 9ab73567f88f12620c4f2e3af2cb741e8b3072f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Thu, 1 Aug 2019 06:16:15 +0200 Subject: [PATCH] No need to pass in a hash when getting the data --- example/confirm.gui_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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