#72 fix return in on_input functions

This commit is contained in:
Insality
2020-06-14 13:34:30 +03:00
parent e8b1809321
commit 409657c12b
4 changed files with 4 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ end
function M.on_input(self, action_id, action)
if action_id ~= const.ACTION_TOUCH then
return
return false
end
if not helper.is_enabled(self.node) then