Skip to content

Commit

Permalink
Fixes burrower being able to tunneling across the map
Browse files Browse the repository at this point in the history
  • Loading branch information
DOOM authored and DOOM committed May 2, 2024
1 parent 36e390d commit 72081d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
return

var/area/A = get_area(T)
if(A.flags_area & AREA_NOTUNNEL)
if(A.flags_area & AREA_NOTUNNEL || get_dist(src, T) > 15)
to_chat(src, SPAN_XENOWARNING("There's no way to tunnel over there."))
return

Expand Down

0 comments on commit 72081d4

Please sign in to comment.