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]
|
||||
[/if]
|
||||
|
||||
[store_map_dimensions]
|
||||
variable=respawn_map
|
||||
[/store_map_dimensions]
|
||||
|
||||
[while]
|
||||
[variable]
|
||||
name=respawn_point.length
|
||||
|
@ -242,6 +238,8 @@
|
|||
[do]
|
||||
[store_locations]
|
||||
variable=respawn_point
|
||||
# Exclude map edges, otherwise the unit gets sent to the recall list
|
||||
include_borders=no
|
||||
[and]
|
||||
[filter]
|
||||
id=$respawn_hub
|
||||
|
@ -258,11 +256,6 @@
|
|||
terrain=Wo,*^Xm,X*,Q*
|
||||
[/not]
|
||||
[/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]
|
||||
{VARIABLE_OP current_radius add 1}
|
||||
[/do]
|
||||
|
|
Loading…
Add table
Reference in a new issue