Fix WML variable leak in RECRUIT_UNIT_VARIATIONS
This commit is contained in:
parent
cd50036363
commit
b9c6ab59d6
2 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,8 @@ Version 1.13.1+dev:
|
|||
and stderr.txt.
|
||||
* Remember last selected modifications separately for single and multiplayer.
|
||||
* Fixed SDL2 compilation issues.
|
||||
* Fixed RECRUIT_UNIT_VARIATIONS core WML macro leaking an internal temporary
|
||||
variable ($recruited_unit_random_variation).
|
||||
|
||||
Version 1.13.1:
|
||||
* Security fixes:
|
||||
|
|
|
@ -451,6 +451,8 @@
|
|||
[/object]
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
{CLEAR_VARIABLE recruited_unit_random_variation}
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue