Fixes 9077

This commit is contained in:
Zuhayr
2015-05-30 05:05:39 +09:30
parent 5f2cf7b4a3
commit b67622b23c
3 changed files with 4 additions and 4 deletions

View File

@@ -249,7 +249,7 @@
var/mob/living/carbon/human/H = src
H.w_uniform.add_fingerprint(M)
if(player_logged)
if(!client || !key || player_logged)
M.visible_message("<span class='notice'>[M] shakes [src] trying to wake [t_him] up!</span>", \
"<span class='notice'>You shake [src], but they do not respond... Maybe they have S.S.D?</span>")
else if(lying || src.sleeping)

View File

@@ -246,7 +246,7 @@
if(!key)
msg += "<span class='deadsay'>[t_He] [t_is] fast asleep. It doesn't look like they are waking up anytime soon.</span>\n"
else if(!client)
msg += "[t_He] [t_has] suddenly fallen asleep.\n"
msg += "<span class='deadsay'>[t_He] [t_is] fast asleep.</span>\n"
var/list/wound_flavor_text = list()
var/list/is_destroyed = list()

View File

@@ -942,7 +942,7 @@
if(status_flags & GODMODE) return 0
//SSD check, if a logged player is awake put them back to sleep!
if(player_logged && sleeping < 2)
if((!client || !key || player_logged) && sleeping < 2)
sleeping = 2
if(stat == DEAD) //DEAD. BROWN BREAD. SWIMMING WITH THE SPESS CARP
@@ -1135,7 +1135,7 @@
if(damageoverlay.overlays)
damageoverlay.overlays = list()
if(stat == UNCONSCIOUS)
//Critical damage passage overlay
if(health <= 0)