mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Fix runtime for escape pods
Fixes Runtime in escape_pods.dm,19
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
if(moving_status == SHUTTLE_INTRANSIT)
|
if(moving_status == SHUTTLE_INTRANSIT)
|
||||||
return FALSE //already going somewhere, current_location may be an intransit location instead of in a sector
|
return FALSE //already going somewhere, current_location may be an intransit location instead of in a sector
|
||||||
var/our_sector = waypoint_sector(current_location)
|
var/our_sector = waypoint_sector(current_location)
|
||||||
if(myship?.landmark && next_location == myship.landmark)
|
if(!our_sector && 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 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
|
return get_dist(our_sector, waypoint_sector(next_location)) <= range
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user