Makes the KA and energy guns use Initialize instead of New fixing the KA runtime (#13227)

* Makes the KA and energy guns use Initialize instead of New

* Fixes
This commit is contained in:
farie82
2020-04-09 22:58:10 -06:00
committed by GitHub
parent f555d49b9a
commit 4d4da7653d
6 changed files with 16 additions and 16 deletions
@@ -32,7 +32,7 @@
if(PA)
qdel(PA)
else
PA = new(src)
PA = new(user, src)
user.put_in_hands(PA)
/obj/item/chrono_eraser/item_action_slot_check(slot, mob/user)
@@ -55,7 +55,7 @@
var/obj/structure/chrono_field/field = null
var/turf/startpos = null
/obj/item/gun/energy/chrono_gun/New(var/obj/item/chrono_eraser/T)
/obj/item/gun/energy/chrono_gun/Initialize(mapload, obj/item/chrono_eraser/T)
. = ..()
if(istype(T))
TED = T