input: fix uranium.call typo
This commit is contained in:
parent
215aab41d3
commit
912bb8f234
|
@ -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
|
||||
|
|
|
@ -48,4 +48,4 @@ function uranium.on(event, f)
|
|||
callbacks[event] = {}
|
||||
end
|
||||
table.insert(callbacks[event], f)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue