소스 검색

1、物品必须拾取、任务限制通行分开字段

liyanbo 4 달 전
부모
커밋
3065affd7e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/blockly/MapGame.vue

+ 1 - 1
src/components/blockly/MapGame.vue

@@ -1502,7 +1502,7 @@ async function taskLogic(tileMap) {
 
   try {
     // 判断当前位置是否有特殊需求
-    if (tileMap && tileMap.type === BLOCKLY_MAP_TYPE_DICT.TASK && tileMap.must === true && tileMap.status !== true) {
+    if (tileMap && tileMap.type === BLOCKLY_MAP_TYPE_DICT.TASK && tileMap.noPassing === true && tileMap.status !== true) {
       await handleWallCollision(tileMap.unfinishedTip);
       return;
     }