diff --git a/code/datums/datumvars.dm b/code/datums/datumvars.dm index 433fd4c0af4..591efbc60d7 100644 --- a/code/datums/datumvars.dm +++ b/code/datums/datumvars.dm @@ -172,7 +172,7 @@ client body += "
<< [dir2text(A.dir)] >>" if(istype(A,/mob)) var/mob/M = A - body += "
[M.ckey ? M.ckey : "No ckey"] / [M.real_name ? M.real_name : "No real name"]" + body += "
[M.key ? M.key : "No key"] / [M.real_name ? M.real_name : "No real name"]" else body += "[D]" diff --git a/code/game/player/news.dm b/code/game/player/news.dm index ec6bcb371ea..c868a9974d8 100644 --- a/code/game/player/news.dm +++ b/code/game/player/news.dm @@ -149,7 +149,7 @@ client/proc/display_all_news_list() output += "[date] [N.title]
" output += "[N.body]
" output += "authored by [N.author]" - if(admin && N.author == src.key) + if(src.holder) output += " Delete Edit" output += "
" output += "
" @@ -182,7 +182,7 @@ client/verb/read_news() display_all_news_list() client/proc/remove_news(ID as num) - if(src.holder) + if(!src.holder) src << "You tried to modify the news, but you're not an admin!" return @@ -201,7 +201,7 @@ client/proc/remove_news(ID as num) display_all_news_list() client/proc/edit_news(ID as num) - if(src.holder) + if(!src.holder) src << "You tried to modify the news, but you're not an admin!" return