mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-25 17:51:17 +00:00
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:
@@ -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
|
||||
|
||||
@@ -294,4 +294,5 @@
|
||||
density = 0
|
||||
|
||||
/obj/effect/syringe_gun_dummy/New()
|
||||
. = ..()
|
||||
create_reagents(15)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user