mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 02:43:28 +00:00
Merge pull request #761 from GregoryLundberg/GL_role_missing_role
Fix bug [role] missing role=
This commit is contained in:
commit
a7bb98a4c8
@ -900,7 +900,7 @@ end
|
||||
function wml_actions.role(cfg)
|
||||
-- role= and type= are handled differently than in other tags,
|
||||
-- so we need to remove them from the filter
|
||||
local role = cfg.role
|
||||
local role = cfg.role or ""
|
||||
local filter = helper.shallow_literal(cfg)
|
||||
|
||||
local types = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user