allows cyborg glass recyclers to refill lightreplacers (#16126)

This commit is contained in:
Kashargul
2024-07-28 06:13:13 +10:00
committed by GitHub
parent e9d1868c41
commit bf3f098b1b
@@ -64,7 +64,7 @@
. += "It has [uses] lights remaining."
/obj/item/device/lightreplacer/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/stack/material) && W.get_material_name() == "glass")
if(istype(W, /obj/item/stack/material) && W.get_material_name() == "glass" || istype(W, /obj/item/stack/material/cyborg/glass))
var/obj/item/stack/G = W
if(uses >= max_uses)
to_chat(user, "<span class='warning'>[src.name] is full.</span>")