Fixes Protolathe cost display after upgrades (#20604)

Fixes the RDconsole to display the proper material cost to print from
the protolathe following upgrades.
This commit is contained in:
Andrew
2025-03-17 21:30:03 +00:00
committed by GitHub
parent 2e22cf2c65
commit df14736507
2 changed files with 59 additions and 1 deletions
+1 -1
View File
@@ -712,7 +712,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
dat += "<li><h3>[last_category]</h3>"
var/temp_dat
for(var/M in D.materials)
temp_dat += ", [D.materials[M]] [CallMaterialName(M)]"
temp_dat += ", [D.materials[M]*linked_imprinter.mat_efficiency] [CallMaterialName(M)]"
for(var/T in D.chemicals)
temp_dat += ", [D.chemicals[T]*linked_imprinter.mat_efficiency] [CallReagentName(T)]"
if(temp_dat)