Fix ore silo runtime (#48976)

Unicode change revealed another material nonsense, who'd expect that.
This commit is contained in:
AnturK
2020-01-25 15:56:15 -08:00
committed by Tad Hardesty
parent da7893f05d
commit b2fc68db32
+2 -1
View File
@@ -232,8 +232,9 @@ GLOBAL_LIST_EMPTY(silo_access_logs)
var/list/msg = list("([timestamp]) <b>[machine_name]</b> in [area_name]<br>[action] [abs(amount)]x [noun]<br>")
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()