DW-PC\DW 5 lat temu
rodzic
commit
8bf14a7e51
1 zmienionych plików z 1 dodań i 1 usunięć
  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();
             }