From 223f36d288d4d668a025c5ae6e5f51b366f5b1c5 Mon Sep 17 00:00:00 2001 From: Geeves Date: Mon, 6 Jul 2020 18:02:03 +0200 Subject: [PATCH] Modular Printer Fix (#9297) Modular computers now properly print with their paper formatting. Fixes #9259 --- code/modules/modular_computers/hardware/nano_printer.dm | 5 ++--- html/changelogs/geeves-mod_printer_format.yml | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/geeves-mod_printer_format.yml diff --git a/code/modules/modular_computers/hardware/nano_printer.dm b/code/modules/modular_computers/hardware/nano_printer.dm index 733d2602889..c82548df640 100644 --- a/code/modules/modular_computers/hardware/nano_printer.dm +++ b/code/modules/modular_computers/hardware/nano_printer.dm @@ -24,9 +24,8 @@ // Damaged printer causes the resulting paper to be somewhat harder to read. if(damage > damage_malfunction) text_to_print = stars(text_to_print, 100-malfunction_probability) - var/obj/item/paper/P = new /obj/item/paper(get_turf(parent_computer),text_to_print, paper_title) - P.info = text_to_print - if (paper_color) + var/obj/item/paper/P = new /obj/item/paper(get_turf(parent_computer), text_to_print, paper_title) + if(paper_color) P.color = paper_color stored_paper-- diff --git a/html/changelogs/geeves-mod_printer_format.yml b/html/changelogs/geeves-mod_printer_format.yml new file mode 100644 index 00000000000..16aa1c3a36e --- /dev/null +++ b/html/changelogs/geeves-mod_printer_format.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "Modular computers now properly print with their paper formatting." \ No newline at end of file