Use material defines more

This commit is contained in:
Chompstation Bot
2021-07-07 19:02:05 +00:00
parent 7e10238662
commit 287a5deee3
205 changed files with 4579 additions and 865 deletions
+1 -1
View File
@@ -209,7 +209,7 @@
update_icon() // VOREStation Add
return
if(istype(W, /obj/item/stack/material) && W.get_material_name() == DEFAULT_WALL_MATERIAL)
if(istype(W, /obj/item/stack/material) && W.get_material_name() == MAT_STEEL)
var/amt = CEILING(( initial(integrity) - integrity)/10, 1)
if(!amt)
to_chat(user, "<span class='notice'>\The [src] is already fully repaired.</span>")