Ai Core and Solar Panels Build Fix (#15484)

This commit is contained in:
Ben
2023-01-02 14:21:38 +01:00
committed by GitHub
parent 185d9a0b89
commit eeb93b0d5c
3 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -235,7 +235,7 @@
playsound(src.loc, W.usesound, 75, 1)
return 1
if(istype(W, /obj/item/stack/material) && (W.get_material_name() == "glass" || W.get_material_name() == "rglass"))
if(istype(W, /obj/item/stack/material) && (W.get_material_name() == "glass" || W.get_material_name() == MATERIAL_GLASS_REINFORCED))
var/obj/item/stack/material/S = W
if(S.use(2))
glass_type = W.type