fix: keys input shouldn't bypass keyLocking
This commit is contained in:
parent
bd37d58b23
commit
63c54525f6
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ end
|
||||||
function BaseWorld:sendInputToPlayers(actor)
|
function BaseWorld:sendInputToPlayers(actor)
|
||||||
for i,v in ipairs(self.players) do
|
for i,v in ipairs(self.players) do
|
||||||
--TODO: make the player get from a selected source inputs
|
--TODO: make the player get from a selected source inputs
|
||||||
local keys = self.scene.sources[v.sourceid].keys
|
local keys = self.scene:getKeys(v.sourceid)
|
||||||
v.actor:getInput(keys)
|
v.actor:getInput(keys)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue