From eafe284e2c3821993bb908922166dea66d460603 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Thu, 25 Jun 2020 12:34:53 +0800 Subject: [PATCH] Fix bug --- libs/maps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/maps.js b/libs/maps.js index 6e89dd65..1d698576 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -732,7 +732,7 @@ maps.prototype._automaticRoute_deepAdd = function (x, y, blocks) { var deepAdd = 1; var block = blocks[x+","+y]; if (block != null){ - var id = block.block.event.id; + var id = block.event.id; // 绕过亮灯 if (id == "light") deepAdd += 100; // 绕过路障