mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Persistent papers should not replace the chat window (#8505)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
var/obj/item/weapon/paper/paper = new paper_type(creating)
|
var/obj/item/weapon/paper/paper = new paper_type(creating)
|
||||||
paper.info = token["message"]
|
paper.info = token["message"]
|
||||||
paper.name = token["title"]
|
paper.name = token["title"]
|
||||||
|
if(!paper.name)
|
||||||
|
paper.name = "No Title"
|
||||||
paper.last_modified_ckey = token["author"]
|
paper.last_modified_ckey = token["author"]
|
||||||
paper.age = token["age"]+1
|
paper.age = token["age"]+1
|
||||||
if(requires_noticeboard)
|
if(requires_noticeboard)
|
||||||
|
|||||||
Reference in New Issue
Block a user