Browse Source

修复bug

DW-PC\DW 5 years ago
parent
commit
8bf14a7e51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      module/game.js

+ 1 - 1
module/game.js

@@ -329,7 +329,7 @@ class Game {
              * 如果不是跳起状态,默认下坠
              *  */
             console.log("在坑里的范围内");
-            if (this.roleState !== ROLESTATE.JUMP && !this.fallingDown) {
+            if ((this.roleState !== ROLESTATE.JUMP && this.roleState !== ROLESTATE.DOWN) && !this.fallingDown) {
                 this.fallDown();
             }