diff --git a/code/datums/helper_datums/teleport.dm b/code/datums/helper_datums/teleport.dm index 715fb70e1a0..5c2817d76c8 100644 --- a/code/datums/helper_datums/teleport.dm +++ b/code/datums/helper_datums/teleport.dm @@ -111,6 +111,10 @@ playSpecials(curturf,effectin,soundin) + // Remove any luminosity etc. + var/prevlum = teleatom.luminosity + teleatom.luminosity = 0 + if(force_teleport) teleatom.forceMove(destturf) playSpecials(destturf,effectout,soundout) @@ -118,6 +122,10 @@ if(teleatom.Move(destturf)) playSpecials(destturf,effectout,soundout) + // Re-Apply lum + teleatom.sd_SetLuminosity(prevlum) + + return 1 proc/teleport() diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 664db918a0e..bcb96ce4893 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -509,7 +509,23 @@ else src << "\blue Unusable emote '[act]'. Say *help for a list." + + + + if (message) + log_emote("[name]/[key] : [message]") + +/* Hearing gasp and such every five seconds is not good emotes were not global for a reason. + for(var/mob/M in world) + if (!M.client) + continue //skip monkeys and leavers + if (istype(M, /mob/new_player)) + continue + if(M.stat == 2 && M.client.ghost_ears && !(M in viewers(src,null))) + M.show_message(message) +*/ + if (m_type & 1) for (var/mob/O in viewers(src, null)) O.show_message(message, m_type) diff --git a/code/modules/mob/living/carbon/human/examine.dm b/code/modules/mob/living/carbon/human/examine.dm index 8167317b46d..3da66832041 100644 --- a/code/modules/mob/living/carbon/human/examine.dm +++ b/code/modules/mob/living/carbon/human/examine.dm @@ -1,5 +1,5 @@ /mob/living/carbon/human/examine() - set src in oview() + set src in view() if(!usr || !src) return if(((usr.disabilities & 128) || usr.blinded || usr.stat) && !(istype(usr,/mob/dead/observer/)))