Merge pull request #726 from GregoryLundberg/GL_emergency_fix_for_25e46473d2bdb0a2bb7577373c216efa5b631847

HTTT 19c: Emergency fix for infinite loop
This commit is contained in:
Celtic Minstrel 2016-08-06 11:24:52 -04:00 committed by GitHub
commit 9c814cd777

View file

@ -505,29 +505,30 @@ Soooo... It is you who sent your subordinates to attack us. Now when weve des
[/message]
# Remove the current location from the array
[foreach]
[for]
array=drake_bases
[do]
[if]
[variable]
name=this_item.x
name=drake_bases[$i].x
numerical_equals=$x1
[/variable]
[variable]
name=this_item.y
name=drake_bases[$i].y
numerical_equals=$y1
[/variable]
[then]
{CLEAR_VARIABLE this_item}
{CLEAR_VARIABLE drake_bases[$i]}
{VARIABLE i 999}
[break][/break]
[/then]
[/if]
[/do]
[/foreach]
[/event]
{CLEAR_VARIABLE i}
[event]
name=last breath