From dd8a810591abbdafa39809de2bc2013c55bb1c82 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Tue, 19 Sep 2023 01:58:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E5=BC=80=E5=BD=95=E5=83=8F=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=97=B6=E4=BC=9A=E6=B8=85=E7=A9=BAmod=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/replays.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parts/scenes/replays.lua b/parts/scenes/replays.lua index 2221ad62..495793d2 100644 --- a/parts/scenes/replays.lua +++ b/parts/scenes/replays.lua @@ -73,6 +73,10 @@ function scene.enter() listBox:setList(REPLAY) _updateButtonVisibility() end +function scene.leave() + for i=1,#MODOPT do MODOPT[i].sel=0 end + TABLE.cut(GAME.mod) +end function scene.keyDown(key) if key=='return' or key=='kpenter' then