Skip to content

Commit

Permalink
离开录像菜单时会清空mod选择状态
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Sep 18, 2023
1 parent 009858e commit dd8a810
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parts/scenes/replays.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd8a810

Please sign in to comment.