Prep for overmap

A couple variable changes to allow overmap shuttles to function properly and for the overmap to be more than just empty space.
This commit is contained in:
Erik
2020-08-20 15:47:31 -07:00
parent ac038e19bb
commit 61eca990df
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
if(moving_status == SHUTTLE_INTRANSIT)
return FALSE //already going somewhere, current_location may be an intransit location instead of in a sector
var/our_sector = waypoint_sector(current_location)
if(!our_sector && myship?.landmark && next_location == myship.landmark)
if(myship?.landmark && next_location == myship.landmark)
return TRUE //We're not on the overmap yet (admin spawned probably), and we're trying to hook up with our openspace sector
return get_dist(our_sector, waypoint_sector(next_location)) <= range