|
@@ -1502,7 +1502,7 @@ async function taskLogic(tileMap) {
|
|
|
|
|
|
|
|
try {
|
|
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);
|
|
await handleWallCollision(tileMap.unfinishedTip);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|