mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e725a0727
commit
ce2446922e
@@ -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 ..()
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user