mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
No need to pass in a hash when getting the data
This commit is contained in:
parent
1ef779a37b
commit
9ab73567f8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user