修复das为0时预览动画不正确

This commit is contained in:
MrZ626
2021-07-13 00:34:45 +08:00
parent 701e4bbdbb
commit 2af3f15997

View File

@@ -15,7 +15,7 @@ function scene.update()
if wait>0 then
wait=wait-1
if wait==0 then
pos=pos+dir
pos=pos+(das==0 and 2 or 1)*dir
else
return
end