This commit is contained in:
RealFD 2022-02-26 22:50:50 +01:00
parent 23e52e6f33
commit 2e52788d51
2 changed files with 7 additions and 11 deletions

Binary file not shown.

View File

@ -696,7 +696,7 @@ function render_lobby(deltaTime)
jacket = placeholderJacket
end
else
draw_diffs(selected_song.all_difficulties, split/2 + song_x_off - 150, 200, 300, 100, selected_song.diff_index+1)
draw_diffs(selected_song.all_difficulties, split/2 + song_x_off - 150, 200, 300, 100, selected_song.diff_index+1)
if selected_song.jacket == nil or selected_song.jacket == placeholderJacket then
selected_song.jacket = gfx.LoadImageJob(selected_song.jacketPath, placeholderJacket)
@ -926,18 +926,11 @@ function join_room(room)
mpScreen.JoinWithoutPassword(room.id)
end
end
local que1 = 0
-- Handle button presses to advance the UI
button_pressed = function(button)
if button == game.BUTTON_FXL and que1 == 0 then
que1 = que1+1
elseif button == game.BUTTON_FXR and que1 == 1 then
que1 = que1+1
end
if que1 == 2 then
que1 = 0
if button == game.BUTTON_FXL and game.BUTTON_FXR then
if start_game_soon then
return
end
@ -973,6 +966,9 @@ end
if button == game.BUTTON_BTB then
toggle_mirror();
end
if button == game.BUTTON_BTC then
toggle_rotate();
end
end
-- Handle the escape key around the UI