mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 05:16:00 +00:00

As far as I can tell, the most likely cause of the bug was that several cases of [modify_ai]action=add were called with a path that lacked the final empty braces at the end of the path. This commit makes both the tag and the underlying Lua API calls explicitly handle this case as if the final empty braces were, in fact, present.