mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Makes syndicate depot structures Initialize() (#15120)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
desc = "Red Operations, Depot General Emission Regulator"
|
||||
icon_state = "ai-magma"
|
||||
|
||||
/mob/living/silicon/decoy/syndicate/New()
|
||||
/mob/living/silicon/decoy/syndicate/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "ai-magma"
|
||||
|
||||
|
||||
@@ -102,11 +102,10 @@
|
||||
var/shield_key = FALSE
|
||||
var/turf/spawn_turf
|
||||
|
||||
/mob/living/simple_animal/hostile/syndicate/melee/autogib/depot/New()
|
||||
..()
|
||||
/mob/living/simple_animal/hostile/syndicate/melee/autogib/depot/Initialize(mapload)
|
||||
. = ..()
|
||||
name = "[name] [pick(GLOB.last_names)]"
|
||||
// Do not attempt to move this code to Initialize() or LateInitialize(). Doing so with other objects has caused bugs in the past, because assigning "depotarea" may not work there.
|
||||
depotarea = areaMaster
|
||||
depotarea = get_area(src)
|
||||
spawn_turf = get_turf(src)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user