Fixed a bug reported on the forums.

This commit is contained in:
Lari Nieminen 2009-09-11 05:20:22 +00:00
parent 208b7d17b1
commit 59e1637e89

View file

@ -582,6 +582,25 @@
[event]
name=victory
# This [if] is used only in the case the player happened to defeat all
# the enemy leaders and didn't move Alanin to the signpost
[if]
[have_unit]
id=Alanin
[/have_unit]
[then]
[store_unit]
[filter]
id=Alanin
[/filter]
variable=alanin
kill=yes
[/store_unit]
{VARIABLE alanin.canrecruit yes}
[/then]
[/if]
[unstore_unit]
variable=alanin
[/unstore_unit]