瀏覽代碼

Merge branch 'master' of http://zhi-edu.com:3000/lan/zedu_client

Administrator 3 年之前
父節點
當前提交
ec9ab0452e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assets/script/rule/GuideRule.ts

+ 1 - 1
assets/script/rule/GuideRule.ts

@@ -546,7 +546,7 @@ export default class GuideRule extends cc.Component {
                         let shakeTime = 0.05
                         actionTween.then(
                             t().repeat(
-                                Math.ceil((customAction.runTime / shakeTime) * 10),
+                                Math.ceil(customAction.runTime / (shakeTime * 10)),
                                 t()
                                     .by(shakeTime, {x: 5, y: 7})
                                     .by(shakeTime, {x: -6, y: -7})