input: fix uranium.call typo

This commit is contained in:
Jill 2023-06-02 12:03:42 +03:00
parent 215aab41d3
commit 912bb8f234
Signed by: oat
GPG Key ID: 33489AA58A955108
2 changed files with 4 additions and 4 deletions

View File

@ -114,16 +114,16 @@ uranium.on('init', function()
_main:addcommand('StepP' .. pn .. j .. 'PressMessage', function()
self.rawInputs[pn][v] = t
if uranium:call('press', v, pn) then return end
if uranium.call('press', v, pn) then return end
self.inputs[pn][v] = t
end)
_main:addcommand('StepP' .. pn .. j .. 'LiftMessage', function()
self.rawInputs[pn][v] = -1
if uranium:call('release', v, pn) then return end
if uranium.call('release', v, pn) then return end
self.inputs[pn][v] = -1
end)
end
end
end)
return self
return self

View File

@ -48,4 +48,4 @@ function uranium.on(event, f)
callbacks[event] = {}
end
table.insert(callbacks[event], f)
end
end