scene/boost: use the included input manager

This commit is contained in:
Kazhnuz 2019-02-04 09:38:16 +01:00
parent 4ac18039a9
commit cf64040dce
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ function Player:new(manager, playerid, character, rail)
end
function Player:getKeys()
return core.input.keys
return self.controller.keys
end
function Player:wrapActor()

View file

@ -110,7 +110,7 @@ function BoostLevel:update(dt)
--self.pausemenu:update(dt)
end
if core.input.keys["start"].isPressed then
if self.keys["start"].isPressed then
self.pause = (self.pause == false)
end
end