A bunch of Initialize()s now have return values
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
SSshuttle.arrivals = src
|
||||
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
areas = list()
|
||||
|
||||
|
||||
@@ -450,7 +450,7 @@
|
||||
// Minimal distance from the map edge, setting this too low can result in shuttle landing on the edge and getting "sliced"
|
||||
|
||||
/obj/docking_port/stationary/random/Initialize(mapload)
|
||||
..()
|
||||
. = ..()
|
||||
if(!mapload)
|
||||
return
|
||||
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
. = ..()
|
||||
|
||||
/obj/docking_port/mobile/Initialize(mapload)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
var/area/A = get_area(src)
|
||||
if(istype(A, /area/shuttle))
|
||||
@@ -316,7 +316,7 @@
|
||||
if(!check_dock(S))
|
||||
testing("check_dock failed on request for [src]")
|
||||
return
|
||||
|
||||
|
||||
if(mode == SHUTTLE_IGNITING && destination == S)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user