mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-11 11:48:38 +00:00

The following fixes were applied: * cfg.__shallow_literal -> helper.shallow_literal, to allow calling the tag from Lua as wesnoth.wml_actions.role * added trim() to the for cycle * deleted filter.role and filter.type after having copied their data, because when calling the tag from Lua they ended up being deleted too early * unit.role = cfg.role -> unit.role = role