Use new include_borders=no key for a simpler fix to bug #22097
This commit is contained in:
parent
63891c77a1
commit
4e8bdfba40
1 changed files with 2 additions and 9 deletions
|
@ -230,10 +230,6 @@
|
||||||
[/else]
|
[/else]
|
||||||
[/if]
|
[/if]
|
||||||
|
|
||||||
[store_map_dimensions]
|
|
||||||
variable=respawn_map
|
|
||||||
[/store_map_dimensions]
|
|
||||||
|
|
||||||
[while]
|
[while]
|
||||||
[variable]
|
[variable]
|
||||||
name=respawn_point.length
|
name=respawn_point.length
|
||||||
|
@ -242,6 +238,8 @@
|
||||||
[do]
|
[do]
|
||||||
[store_locations]
|
[store_locations]
|
||||||
variable=respawn_point
|
variable=respawn_point
|
||||||
|
# Exclude map edges, otherwise the unit gets sent to the recall list
|
||||||
|
include_borders=no
|
||||||
[and]
|
[and]
|
||||||
[filter]
|
[filter]
|
||||||
id=$respawn_hub
|
id=$respawn_hub
|
||||||
|
@ -258,11 +256,6 @@
|
||||||
terrain=Wo,*^Xm,X*,Q*
|
terrain=Wo,*^Xm,X*,Q*
|
||||||
[/not]
|
[/not]
|
||||||
[/and]
|
[/and]
|
||||||
# Exclude map edges, otherwise the unit gets sent to the recall list
|
|
||||||
[and]
|
|
||||||
x=1-$respawn_map.width
|
|
||||||
y=1-$respawn_map.height
|
|
||||||
[/and]
|
|
||||||
[/store_locations]
|
[/store_locations]
|
||||||
{VARIABLE_OP current_radius add 1}
|
{VARIABLE_OP current_radius add 1}
|
||||||
[/do]
|
[/do]
|
||||||
|
|
Loading…
Add table
Reference in a new issue