mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +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
@@ -19,7 +19,7 @@ GLOBAL_LIST_EMPTY(all_blobs)
|
||||
var/base_name = "blob" // The name that gets appended along with the blob_type's name.
|
||||
var/faction = FACTION_BLOB
|
||||
|
||||
/obj/structure/blob/Initialize(newloc, new_overmind)
|
||||
/obj/structure/blob/Initialize(mapload, new_overmind)
|
||||
if(new_overmind)
|
||||
overmind = new_overmind
|
||||
faction = overmind.blob_type.faction
|
||||
|
||||
@@ -95,8 +95,8 @@ var/list/blob_cores = list()
|
||||
/obj/structure/blob/core/classic
|
||||
desired_blob_type = /datum/blob_type/classic
|
||||
|
||||
/obj/structure/blob/core/Initialize(newloc, client/new_overmind = null, new_rate = 2, placed = 0)
|
||||
. = ..(newloc)
|
||||
/obj/structure/blob/core/Initialize(mapload, client/new_overmind = null, new_rate = 2, placed = 0)
|
||||
. = ..()
|
||||
blob_cores += src
|
||||
START_PROCESSING(SSobj, src)
|
||||
update_icon() //so it atleast appears
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
var/resource_delay = 0
|
||||
var/resource_cooldown = 4 SECONDS
|
||||
|
||||
/obj/structure/blob/resource/Initialize(newloc, new_overmind)
|
||||
/obj/structure/blob/resource/Initialize(mapload, new_overmind)
|
||||
if(overmind)
|
||||
overmind.resource_blobs += src
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user