修复das为0时预览动画不正确
This commit is contained in:
@@ -15,7 +15,7 @@ function scene.update()
|
|||||||
if wait>0 then
|
if wait>0 then
|
||||||
wait=wait-1
|
wait=wait-1
|
||||||
if wait==0 then
|
if wait==0 then
|
||||||
pos=pos+dir
|
pos=pos+(das==0 and 2 or 1)*dir
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user