mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
undo some initialize changes (#8449)
This commit is contained in:
@@ -35,14 +35,20 @@
|
||||
var/standard_overlays = TRUE
|
||||
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++
|
||||
charge = maxcharge
|
||||
update_icon()
|
||||
//update_icon() //CHOMPRemove
|
||||
if(self_recharge)
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
//CHOMPAdd Start
|
||||
/obj/item/weapon/cell/Initialize()
|
||||
. = ..()
|
||||
update_icon()
|
||||
//CHOMPAdd End
|
||||
|
||||
/obj/item/weapon/cell/Destroy()
|
||||
if(self_recharge)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
Reference in New Issue
Block a user