mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix improper chomp edit and change it to cached icon states (#11449)
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
|
||||
/obj/item/gun/energy/Initialize(mapload)
|
||||
. = ..()
|
||||
var/static/list/gun_icons = icon_states('icons/obj/gun_ch.dmi')
|
||||
if (icon == 'icons/obj/gun_ch.dmi' && !(icon_state in gun_icons))
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
if(self_recharge)
|
||||
power_supply = new /obj/item/cell/device/weapon(src)
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
Reference in New Issue
Block a user