The road to Initialize() stability - Enforcing parent call on New(), Initialize() and Destroy() (#14719)

* The road to Initialize() stability

* Fixes sanity, for now
This commit is contained in:
AffectedArc07
2020-10-28 12:35:36 -04:00
committed by GitHub
parent 997f527f3a
commit 2c37ae8fd0
50 changed files with 102 additions and 59 deletions
@@ -128,6 +128,7 @@
/obj/structure/closet/paramedic/New()
. = ..()
new /obj/item/clothing/under/rank/medical/paramedic(src)
new /obj/item/clothing/under/rank/medical/paramedic(src)
new /obj/item/radio/headset/headset_med(src)
@@ -59,6 +59,7 @@
qdel(src)*/
/obj/structure/closet/emcloset/legacy/New()
. = ..()
new /obj/item/tank/oxygen(src)
new /obj/item/clothing/mask/gas(src)
+1
View File
@@ -306,6 +306,7 @@
var/stump = 0
/obj/structure/bush/New()
. = ..()
if(prob(20))
opacity = 1
+1
View File
@@ -24,6 +24,7 @@
var/width = 3
/obj/structure/grille/fence/New()
. = ..()
if(width > 1)
if(dir in list(EAST, WEST))
bound_width = width * world.icon_size