mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 11:57:01 +00:00
LoW: fix usage of "unit" as a custom variable type
The scenario is still thoroughly broken. Or perhaps it comes from the savegame used.
This commit is contained in:
parent
e3321f5db6
commit
4a8df17429
@ -97,14 +97,14 @@
|
|||||||
[/filter]
|
[/filter]
|
||||||
[/store_unit]
|
[/store_unit]
|
||||||
|
|
||||||
{FOREACH steal_wearer unit}
|
{FOREACH steal_wearer i}
|
||||||
{VARIABLE steal_wearer[$unit].side 2}
|
{VARIABLE steal_wearer[$i].side 2}
|
||||||
[unstore_unit]
|
[unstore_unit]
|
||||||
variable=steal_wearer[$unit]
|
variable=steal_wearer[$i]
|
||||||
x,y=recall,recall
|
x,y=recall,recall
|
||||||
[/unstore_unit]
|
[/unstore_unit]
|
||||||
{NEXT unit}
|
{NEXT i}
|
||||||
{CLEAR_VARIABLE unit}
|
{CLEAR_VARIABLE i}
|
||||||
{CLEAR_VARIABLE steal_wearer}
|
{CLEAR_VARIABLE steal_wearer}
|
||||||
|
|
||||||
{LOW_STEAL_UNIT_TO "Landar" 3}
|
{LOW_STEAL_UNIT_TO "Landar" 3}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user