Paper Scanner Fix (#10802)

This commit is contained in:
Geeves
2020-12-16 14:38:02 -03:00
committed by GitHub
parent 2a4575b38a
commit f6c030ec69
3 changed files with 15 additions and 3 deletions
@@ -88,8 +88,9 @@
var/data_to_save = ""
for(var/thing in pages_to_scan)
var/obj/item/paper/page = thing
data_to_save += page.info
var/p_info = html2pencode(page.info)
data_to_save += strip_html_properly(p_info)
data_to_save += "\[br\]"
F.stored_data = data_to_save
if(!drive.store_file(F))
to_chat(usr, SPAN_WARNING("\The [drive] does not have enough space to store the latest scanned file."))
to_chat(user, SPAN_WARNING("\The [drive] does not have enough space to store the latest scanned file."))