Update every initialize() proc to return an initialize hint.

* Yes, all of them.
* Also did a few corrections to redundant New() and broken Destroy() along the way
* Renamed the turf_initializer.initialize() proc to InitializeTurf to avoid confusion.
* Subsumed /area/proc/initialize into /atom/proc/initialize() - Made /area's LateInitialize to get same behavior as before.
This commit is contained in:
Leshana
2018-02-03 01:00:57 -05:00
parent ef73c090ab
commit cef001bf2a
114 changed files with 196 additions and 197 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
charge_amount = 20
/obj/item/weapon/cell/device/weapon/empty/initialize()
..()
. = ..()
charge = 0
update_icon()
+1 -1
View File
@@ -111,7 +111,7 @@
var/overheating = 0 //if this gets high enough the generator explodes
/obj/machinery/power/port_gen/pacman/initialize()
..()
. = ..()
if(anchored)
connect_to_network()
+1 -1
View File
@@ -42,7 +42,7 @@
return 1
/obj/machinery/power/emitter/initialize()
..()
. = ..()
if(state == 2 && anchored)
connect_to_network()
+1 -1
View File
@@ -348,7 +348,7 @@ var/list/solars_list = list()
/obj/machinery/power/solar_control/initialize()
..()
. = ..()
if(!powernet) return
set_panels(cdir)
connect_to_network()