From b2fc68db3281f308514186f950377d536624e854 Mon Sep 17 00:00:00 2001 From: AnturK Date: Sun, 26 Jan 2020 00:56:15 +0100 Subject: [PATCH] Fix ore silo runtime (#48976) Unicode change revealed another material nonsense, who'd expect that. --- code/modules/mining/machine_silo.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mining/machine_silo.dm b/code/modules/mining/machine_silo.dm index 94912dfc554..92aadd3ca04 100644 --- a/code/modules/mining/machine_silo.dm +++ b/code/modules/mining/machine_silo.dm @@ -232,8 +232,9 @@ GLOBAL_LIST_EMPTY(silo_access_logs) var/list/msg = list("([timestamp]) [machine_name] in [area_name]
[action] [abs(amount)]x [noun]
") var/sep = "" for(var/key in materials) + var/datum/material/M = key var/val = round(materials[key]) / MINERAL_MATERIAL_AMOUNT msg += sep sep = ", " - msg += "[amount < 0 ? "-" : "+"][val] [copytext(key, length(key[1]) + 1)]" + msg += "[amount < 0 ? "-" : "+"][val] [M.name]" formatted = msg.Join()