Account for censorship screens

This commit is contained in:
Tayyyyyyy
2018-02-09 13:10:05 -06:00
parent 9542c4d904
commit 4a0d7cac7f
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -252,7 +252,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //Global list that will co
var/list/messages = list()
data["messages"] = messages
for(var/datum/feed_message/M in viewing_channel.messages)
messages[++messages.len] = list("body" = M.body, "body_redacted" = (M.body == REDACTED ? 1 : 0) , "message_type" = M.message_type, "author" = M.author, "author_redacted" = (M.author == REDACTED ? 1 : 0), "ref" = "\ref[M]", "view_count" = M.view_count)
messages[++messages.len] = list("title" = M.title, "body" = M.body, "body_redacted" = (M.body == REDACTED ? 1 : 0) , "message_type" = M.message_type, "author" = M.author, "author_redacted" = (M.author == REDACTED ? 1 : 0), "ref" = "\ref[M]", "view_count" = M.view_count)
if(10)
var/wanted_already = 0
var/end_param = 1
+4 -2
View File
@@ -206,7 +206,8 @@ Property of Nanotrasen</font><br>
<i>{{:helper.link(data.author_redacted ? 'Undo author censorship' : 'Censor channel author', null, {'censor_channel_author' : data.ref})}}</i><br><hr>
{{for data.messages}}
<div class='statusDisplay'>
- {{:value.body}}<br>
<b>{{:value.title}}</b><br>
{{:value.body}}<br>
{{if value.img}}
<img src='{{:value.img}}' width=180><br>
{{/if}}
@@ -234,7 +235,8 @@ Property of Nanotrasen</font><br>
{{else}}
{{for data.messages}}
<div class='statusDisplay'>
- {{:value.body}}<br>
<b>{{:value.title}}</b><br>
{{:value.body}}<br>
{{if value.img}}
<img src='{{:value.img}}' width=180><br>
{{/if}}