mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fixes custom material examine runtime (#69873)
* Fixes custom material examine runtime, and also fixes the exact same problem showing up in GAGS' setting custom material amounts.
This commit is contained in:
@@ -334,7 +334,8 @@
|
||||
/obj/structure/table/greyscale/set_custom_materials(list/materials, multiplier)
|
||||
. = ..()
|
||||
var/list/materials_list = list()
|
||||
for(var/datum/material/current_material as anything in custom_materials)
|
||||
for(var/custom_material in custom_materials)
|
||||
var/datum/material/current_material = GET_MATERIAL_REF(custom_material)
|
||||
materials_list += "[current_material.name]"
|
||||
desc = "A square [(materials_list.len > 1) ? "amalgamation" : "piece"] of [english_list(materials_list)] on four legs. It can not move."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user