Skip to content

Commit

Permalink
Fix: Newspaper text
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Dec 5, 2023
1 parent bf3df78 commit d185615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/newscaster/obj/newspaper.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
return
if(ishuman(user))
var/mob/living/carbon/human/human_user = user
var/dat
var/dat = {"<meta charset="UTF-8">"}
pages = 0
switch(screen)
if(SCREEN_COVER) //Cover
Expand Down Expand Up @@ -164,7 +164,7 @@
to_chat(user, "<span class='notice'>There's already a scribble in this page... You wouldn't want to make things too cluttered, would you?</span>")
else
var/s = strip_html(input(user, "Write something", "Newspaper", ""))
s = sanitize(copytext(s, 1, MAX_MESSAGE_LEN)) // SS220 EDIT - ORIGINAL: copytext
s = sanitize(copytext(s, 1, MAX_MESSAGE_LEN))
if(!s || !Adjacent(user))
return
scribble_page = curr_page
Expand Down

0 comments on commit d185615

Please sign in to comment.