diff --git a/code/modules/research/rdconsole.dm b/code/modules/research/rdconsole.dm index b07a7d4dc5b..6c872ca91ac 100644 --- a/code/modules/research/rdconsole.dm +++ b/code/modules/research/rdconsole.dm @@ -716,9 +716,9 @@ won't update every console in existence) but it's more of a hassle to do. Also, dat += "
  • [last_category]

    " var/temp_dat for(var/M in D.materials) - temp_dat += ", [D.materials[M]*linked_imprinter.mat_efficiency] [CallMaterialName(M)]" + temp_dat += ", [D.materials[M]*linked_lathe.mat_efficiency] [CallMaterialName(M)]" for(var/T in D.chemicals) - temp_dat += ", [D.chemicals[T]*linked_imprinter.mat_efficiency] [CallReagentName(T)]" + temp_dat += ", [D.chemicals[T]*linked_lathe.mat_efficiency] [CallReagentName(T)]" if(temp_dat) temp_dat = " \[[copytext(temp_dat, 3)]\]" if(linked_lathe.canBuild(D)) diff --git a/html/changelogs/hellfirejag-protolathe-fixes.yml b/html/changelogs/hellfirejag-protolathe-fixes.yml new file mode 100644 index 00000000000..8b0fe0bdb6b --- /dev/null +++ b/html/changelogs/hellfirejag-protolathe-fixes.yml @@ -0,0 +1,4 @@ +author: Hellfirejag +delete-after: True +changes: + - bugfix: "Fixed a runtime error caused by robotics consoles using a protolathe when no circuit imprinter is connected."