A bunch of Initialize()s now have return values

This commit is contained in:
CitadelStationBot
2017-04-25 03:51:57 -05:00
parent 306e7c1cba
commit d931e5801c
39 changed files with 59 additions and 51 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
SSshuttle.arrivals = src
..()
. = ..()
areas = list()
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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