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 16:35:36 +00:00
committed by GitHub
parent 997f527f3a
commit 2c37ae8fd0
50 changed files with 102 additions and 59 deletions

View File

@@ -195,6 +195,7 @@
harmful = FALSE
/obj/item/ammo_casing/energy/wormhole/New(var/obj/item/gun/energy/wormhole_projector/wh)
. = ..()
gun = wh
/obj/item/ammo_casing/energy/wormhole/orange

View File

@@ -294,4 +294,5 @@
density = 0
/obj/effect/syringe_gun_dummy/New()
. = ..()
create_reagents(15)

View File

@@ -214,6 +214,7 @@
color = "#FF6600"
/obj/item/projectile/beam/wormhole/New(var/obj/item/ammo_casing/energy/wormhole/casing)
. = ..()
if(casing)
gun = casing.gun