Skip to content

Commit

Permalink
Lyk dis commit if u crai errytim Fayrik gets an if statement wrong!
Browse files Browse the repository at this point in the history
  • Loading branch information
Fayrik committed Jul 27, 2015
1 parent b67068b commit 12759e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions code/game/verbs/who.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
var/list/Lines = list()

if(holder)
if (check_rights(R_ADMIN,0))//If they have +ADMIN, their ghost can see players IC names and statuses.
if (check_rights(R_ADMIN,0) && isobserver(src.mob))//If they have +ADMIN and are a ghost they can see players IC names and statuses.
var/mob/dead/observer/G = src.mob
if(!G.started_as_observer)//If you aghost to do this, KorPhaeron will deadmin you in your sleep.
log_admin("[key_name(usr)] checked advanced who in-round")
for(var/client/C in clients)
var/entry = "\t[C.key]"
if(C.holder && C.holder.fakekey)
entry += " <i>(as [C.holder.fakekey])</i>"
if (isobserver(src.mob))
var/mob/dead/observer/G = src.mob
if(!G.started_as_observer)//If you aghost to do this, KorPhaeron will deadmin you in your sleep.
log_admin("[key_name(usr)] checked advanced who in-round")
entry += " - Playing as [C.mob.real_name]"
switch(C.mob.stat)
if(UNCONSCIOUS)
Expand Down

0 comments on commit 12759e2

Please sign in to comment.