mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
undo some initialize changes (#8449)
This commit is contained in:
@@ -35,14 +35,20 @@
|
|||||||
var/standard_overlays = TRUE
|
var/standard_overlays = TRUE
|
||||||
var/last_overlay_state = null // Used to optimize update_icon() calls.
|
var/last_overlay_state = null // Used to optimize update_icon() calls.
|
||||||
|
|
||||||
/obj/item/weapon/cell/Initialize() //ChompEDIT New --> Initialize
|
/obj/item/weapon/cell/New()
|
||||||
..()
|
..()
|
||||||
c_uid = cell_uid++
|
c_uid = cell_uid++
|
||||||
charge = maxcharge
|
charge = maxcharge
|
||||||
update_icon()
|
//update_icon() //CHOMPRemove
|
||||||
if(self_recharge)
|
if(self_recharge)
|
||||||
START_PROCESSING(SSobj, src)
|
START_PROCESSING(SSobj, src)
|
||||||
|
|
||||||
|
//CHOMPAdd Start
|
||||||
|
/obj/item/weapon/cell/Initialize()
|
||||||
|
. = ..()
|
||||||
|
update_icon()
|
||||||
|
//CHOMPAdd End
|
||||||
|
|
||||||
/obj/item/weapon/cell/Destroy()
|
/obj/item/weapon/cell/Destroy()
|
||||||
if(self_recharge)
|
if(self_recharge)
|
||||||
STOP_PROCESSING(SSobj, src)
|
STOP_PROCESSING(SSobj, src)
|
||||||
|
|||||||
Reference in New Issue
Block a user