修复全解锁命令的一个问题

This commit is contained in:
MrZ626
2021-02-17 17:59:10 +08:00
parent 8708daaa60
commit e0690e0816

View File

@@ -82,7 +82,7 @@ function scene.keyDown(k)
elseif v==7294e4+3816 then
pass=true
for name,M in next,MODES do
if not RANKS[name]and M.x then
if type(name)=="string"and not RANKS[name]and M.x then
RANKS[name]=M.score and 0 or 6
end
end