DW-PC\DW 5 anni fa
parent
commit
8bf14a7e51
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();
             }