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,12 +114,12 @@ 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