DW-PC\DW 5 vuotta sitten
vanhempi
commit
8bf14a7e51
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();
             }