mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-28 14:36:23 +01:00
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:
@@ -24,7 +24,7 @@
|
||||
var/list/will_contain
|
||||
|
||||
/obj/structure/closet/initialize()
|
||||
..()
|
||||
. = ..()
|
||||
if(will_contain)
|
||||
create_objects_in_loc(src, will_contain)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
density = 1
|
||||
|
||||
/obj/structure/largecrate/initialize()
|
||||
..()
|
||||
. = ..()
|
||||
for(var/obj/I in src.loc)
|
||||
if(I.density || I.anchored || I == src || !I.simulated)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user