Fix WML variable leak in RECRUIT_UNIT_VARIATIONS

This commit is contained in:
Ignacio R. Morelle 2015-08-09 01:51:02 -03:00
parent cd50036363
commit b9c6ab59d6
2 changed files with 4 additions and 0 deletions

View file

@ -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:

View file

@ -451,6 +451,8 @@
[/object]
[/then]
[/if]
{CLEAR_VARIABLE recruited_unit_random_variation}
[/event]
#enddef