Add level selector / leaderboard browser #7
@ -406,10 +406,10 @@ local function controller(player)
|
|||||||
local cmd = player.cmd
|
local cmd = player.cmd
|
||||||
if not keyRepeat then
|
if not keyRepeat then
|
||||||
if cmd.driftturn > 0 then
|
if cmd.driftturn > 0 then
|
||||||
updateMapIndex(1)
|
updateMapIndex(-1)
|
||||||
updateKeyRepeat()
|
updateKeyRepeat()
|
||||||
elseif cmd.driftturn < 0 then
|
elseif cmd.driftturn < 0 then
|
||||||
updateMapIndex(-1)
|
updateMapIndex(1)
|
||||||
updateKeyRepeat()
|
updateKeyRepeat()
|
||||||
elseif cmd.buttons & BT_FORWARD then
|
elseif cmd.buttons & BT_FORWARD then
|
||||||
scrollPos = $ - 1
|
scrollPos = $ - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user