From 63c54525f65568514180584918aacc8a33287b1d Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 28 Dec 2019 21:11:34 +0100 Subject: [PATCH] fix: keys input shouldn't bypass keyLocking --- sonic-bluestreak.love/core/modules/world/baseworld.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-bluestreak.love/core/modules/world/baseworld.lua b/sonic-bluestreak.love/core/modules/world/baseworld.lua index 2ad0dce..46b2555 100644 --- a/sonic-bluestreak.love/core/modules/world/baseworld.lua +++ b/sonic-bluestreak.love/core/modules/world/baseworld.lua @@ -254,7 +254,7 @@ end function BaseWorld:sendInputToPlayers(actor) for i,v in ipairs(self.players) do --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) end end