Initialize fixing (#17279)

* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
This commit is contained in:
Kashargul
2025-03-08 13:59:29 -05:00
committed by GitHub
parent 76183beaa5
commit 46bea7cfa2
755 changed files with 1905 additions and 1904 deletions
+1 -1
View File
@@ -156,7 +156,7 @@
// 'Reactive' beam parts do something when touched or stood in.
/obj/effect/ebeam/reactive
/obj/effect/ebeam/reactive/Initialize()
/obj/effect/ebeam/reactive/Initialize(mapload)
START_PROCESSING(SSobj, src)
return ..()
+1 -1
View File
@@ -113,7 +113,7 @@
/obj/item/bananapeel/testing/proc/shmove(var/atom/source, var/atom/old_loc, var/atom/new_loc)
world.log << "the [source] moved from [old_loc]([old_loc.x],[old_loc.y],[old_loc.z]) to [new_loc]([new_loc.x],[new_loc.y],[new_loc.z])"
/obj/item/bananapeel/testing/Initialize()
/obj/item/bananapeel/testing/Initialize(mapload)
. = ..()
AddComponent(/datum/component/recursive_move)
RegisterSignal(src, COMSIG_OBSERVER_MOVED, PROC_REF(shmove))
+2 -2
View File
@@ -1,4 +1,4 @@
// /decl is a subtype used for singletons that should never have more than one instance
// /decl is a subtype used for singletons that should never have more than one instance
// in existence at a time. If you want to use a /decl you should use a pattern like:
// var/decl/somedecl/mydecl = GET_DECL(/decl/somedecl)
@@ -60,7 +60,7 @@ var/repository/decls/decls_repository // Initialiozed in /datum/global_init/New(
. = get_decls(subtypesof(decl_prototype))
fetched_decl_subtypes[decl_prototype] = .
/decl/proc/Initialize()
/decl/proc/Initialize(mapload)
SHOULD_CALL_PARENT(TRUE)
SHOULD_NOT_SLEEP(TRUE)
return