修复命令行空白输入报错

closes #63
This commit is contained in:
MrZ626
2021-05-16 14:15:14 +08:00
parent 8636c6dcd5
commit 8101cf89f8
3 changed files with 8 additions and 4 deletions

View File

@@ -1727,7 +1727,7 @@ function Player:lose(force)
for i=A.strength+1,4 do
if A.badge>=ROYALEDATA.powerUp[i]then
A.strength=i
A:setFrameColor(A.strength)
A:setFrameColor(i)
end
end
self.lastRecv=A