mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Makes the global materials lookup lazily initialized
This commit is contained in:
@@ -314,7 +314,7 @@
|
||||
if(remaining_mats)
|
||||
for(var/M=1 to remaining_mats)
|
||||
new stack_type(get_turf(loc))
|
||||
else if(custom_materials[getmaterialref(/datum/material/iron)])
|
||||
else if(custom_materials[SSmaterials.GetMaterialRef(/datum/material/iron)])
|
||||
new /obj/item/stack/rods(get_turf(loc), 2)
|
||||
qdel(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user