mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +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)
|
||||
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(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 get_dist(our_sector, waypoint_sector(next_location)) <= range
|
||||
|
||||
@@ -177,4 +177,4 @@
|
||||
|
||||
// Walls hide stuff inside them, but we want to be visible.
|
||||
/obj/structure/fuel_port/hide()
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user