mirror of
https://github.com/motajs/template.git
synced 2026-11-03 07:24:30 +08:00
fix(02-02): cost 守卫允许 Infinity,仅拦 NaN 与负数
This commit is contained in:
1 parent
3beef86ac0
commit
e27015c4d2
3 files changed
+25
-3
No files matched your search
@@ -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."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user