修复无尽挖掘报错,小改垃圾行出现代码

This commit is contained in:
MrZ_26
2020-08-10 01:37:49 +08:00
parent f2cf2ce29b
commit de0de3a771
2 changed files with 6 additions and 3 deletions

View File

@@ -1197,9 +1197,11 @@ function player.garbageRise(P,color,amount,pos)
P.field[1][pos]=0
end
P.fieldBeneath=P.fieldBeneath+amount*30
P.curY=P.curY+amount
if P.cur then
P.curY=P.curY+amount
P.imgY=P.imgY+amount
end
P.garbageBeneath=P.garbageBeneath+amount
P.imgY=P.imgY+amount
for i=1,#P.clearingRow do
P.clearingRow[i]=P.clearingRow[i]+amount
end