This commit is contained in:
Ghommie
2020-08-20 20:26:29 +02:00
parent fde859bca0
commit 921a963e59

View File

@@ -249,9 +249,9 @@
item_state = new_item_state
/obj/item/gun/energy/update_overlays()
. = ..()
if(QDELETED(src))
return
..()
if(!automatic_charge_overlays)
return
var/overlay_icon_state = "[icon_state]_charge"