fix(02-02): cost 守卫允许 Infinity,仅拦 NaN 与负数

This commit is contained in:
AncTe committed 2026-09-09 19:30:12 +08:00
1 parent 3beef86ac0
commit e27015c4d2
3 files changed
+25 -3

No files matched your search

+1 -1
View File
@@ -239,6 +239,6 @@
"171": "Event id '$1' not found in event store, event will be skipped.",
"172": "Event returned non-boolean value '$1' during reduction. JavaScript short-circuit semantics will be used.",
"173": "Pathfinding input is invalid or a required binding (map state, map layer) is missing. An empty result will be returned.",
"174": "Pathfinding cost function returned a negative value. Default cost 1 will be used instead."
"174": "Pathfinding cost function returned a negative or NaN value. Default cost 1 will be used instead."
}
}