Modular Printer Fix (#9297)

Modular computers now properly print with their paper formatting.

Fixes #9259
This commit is contained in:
Geeves
2020-07-06 19:02:03 +03:00
committed by GitHub
parent 7d252f2c15
commit 223f36d288
2 changed files with 8 additions and 3 deletions
@@ -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--