Persistent papers should not replace the chat window (#16030)

* windows rely on the paper name. NULL is a really bad case

* changed to No Title
This commit is contained in:
Kashargul
2024-06-09 17:28:47 +10:00
committed by GitHub
parent 3d24e49996
commit 96fc27518f
@@ -17,6 +17,8 @@
var/obj/item/weapon/paper/paper = new paper_type(creating)
paper.info = token["message"]
paper.name = token["title"]
if(!paper.name)
paper.name = "No Title"
paper.last_modified_ckey = token["author"]
paper.age = token["age"]+1
if(requires_noticeboard)