修复录像回放会进入排行

This commit is contained in:
MrZ626
2021-06-28 19:12:06 +08:00
parent 1dcce5f3b2
commit c406059177

View File

@@ -262,7 +262,7 @@ function gameOver()--Save record
if R>0 then
GAME.rank=R
end
if scoreValid()and M.score then
if not GAME.replaying and M.score and scoreValid()then
if RANKS[M.name]then--Old rank exist
local needSave
if R>RANKS[M.name]then