[role] always error on missing role=
This commit is contained in:
parent
0cf8a2e71a
commit
65134d6f0f
1 changed files with 1 additions and 5 deletions
|
@ -904,11 +904,7 @@ function wml_actions.role(cfg)
|
|||
local filter = helper.shallow_literal(cfg)
|
||||
|
||||
if role == nil then
|
||||
if helper.get_child("auto_recall") ~= nil then
|
||||
role = ""
|
||||
else
|
||||
helper.wml_error("missing role= in [role]")
|
||||
end
|
||||
helper.wml_error("missing role= in [role]")
|
||||
end
|
||||
|
||||
local types = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue