Fix a bug in VCTRL module that affect to SCENE:onInputRelease

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-22 00:34:56 +07:00
parent bec80916cb
commit c81b85b9ed

View File

@@ -189,9 +189,9 @@ function VCTRL.release(id)
if not global_toggle then return end
if touches[id] then
touches[id]:release()
touches[id]=nil
return true
end
touches[id]=nil
end
function VCTRL.drag(dx,dy,id)