diff --git a/code/modules/modular_computers/hardware/nano_printer.dm b/code/modules/modular_computers/hardware/nano_printer.dm index ada1a6979e..665b855f4f 100644 --- a/code/modules/modular_computers/hardware/nano_printer.dm +++ b/code/modules/modular_computers/hardware/nano_printer.dm @@ -31,14 +31,15 @@ if(paper_title) P.name = paper_title P.update_icon() - P.fields = count_fields(P.info, P.fields) + P.fields = count_fields(P.info) P.updateinfolinks() stored_paper-- return 1 -/obj/item/weapon/computer_hardware/nano_printer/proc/count_fields(var/info, var/fields) +/obj/item/weapon/computer_hardware/nano_printer/proc/count_fields(var/info) //Count the fields. This is taken directly from paper.dm, /obj/item/weapon/paper/proc/parsepencode(). -Hawk_v3 + var/fields = 0 var/t = info var/laststart = 1 while(1)