Don't parse [filter_recall] or [event] with [unit]to_variable=
This commit is contained in:
parent
19e173d1a7
commit
888a3e26cb
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ WML_HANDLER_FUNCTION(unit,, cfg)
|
|||
if (!to_variable.blank())
|
||||
{
|
||||
parsed_cfg.remove_attribute("to_variable");
|
||||
unit new_unit(parsed_cfg, true);
|
||||
unit new_unit(parsed_cfg, true, &cfg);
|
||||
try
|
||||
{
|
||||
config &var = resources::gamedata->get_variable_cfg(to_variable);
|
||||
|
|
Loading…
Add table
Reference in a new issue