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:
@@ -47,3 +47,8 @@
|
||||
//damage = 5
|
||||
mob_bonus_damage = 35
|
||||
armor_penetration = 0
|
||||
|
||||
/obj/item/gun/energy/Initialize(mapload)
|
||||
if(icon == 'icons/obj/gun_ch.dmi' && !(icon_state in cached_icon_states('icons/obj/gun_ch.dmi')))
|
||||
icon = 'icons/obj/gun.dmi'
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user