right arrow now also selects

This commit is contained in:
PossiblyAxolotl 2022-04-24 13:17:55 -06:00
parent 48d062b2f0
commit 1b4081d9fc

View file

@ -63,7 +63,7 @@ function updateMenu()
end
imgCursor:draw(controlX - 17,controlY + (243 - (20 * #menuitems)))
if playdate.buttonJustPressed(playdate.kButtonA) then
if playdate.buttonJustPressed(playdate.kButtonA) or playdate.buttonJustPressed(playdate.kButtonRight) then
menuButtonPress(menuitems[#menuitems - math.floor(index)].name)
end