getTokenNames / getTokens don't work with mapName option #1175
Labels
bug
macro changes
This issue adds or changes macro functions. Extra work is required (testing, wiki, code editor)
tested
This issue has been QA tested by someone other than the developer.
Describe the bug
getTokenNames
/getTokens
don't work withmapName
option anymore, because extra"
s are added around the value of themapName
parameter.To Reproduce
Steps to reproduce the behavior:
Grasslands
map.[h: cond = json.set("{}", "mapName", "Grasslands")][r: getTokenNames(",",cond)]
Can not find map ""Grasslands"" in function "getTokenNames".
Expected behavior
The map is properly found.
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: