diff --git a/scene/replay.lua b/scene/replay.lua index 6666013..a8bc0b2 100644 --- a/scene/replay.lua +++ b/scene/replay.lua @@ -154,8 +154,8 @@ function ReplaySelectScene:onInputPress(e) local selected_replay_text = self.replay_text[self.replay_select + ((self.page-1) * self.page_flip)] if ( - e.type == "touch" or e.type == "mouse") and - not BUTTON.press(buttonList, e.x, e.y, e.id and + (e.type == "touch" or e.type == "mouse") and + not BUTTON.press(buttonList, e.x, e.y, e.id) and #self.replays > 0 ) then local selection = math.floor((e.y - 15) / 30)