scene/boost: use the included input manager
This commit is contained in:
parent
4ac18039a9
commit
cf64040dce
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue