mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 12:03:11 +00:00
- Fixed bug where putting someone in a sleeper didn't set it as occupied, allowing others to climb in which would destroy the mob already inside.
- Fixed bug where players who hadn't entered the game could hear dsay - Runtime! now runs times. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2203 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
var/rendered = "<span class='game deadsay'><span class='prefix'>DEAD:</span> <span class='name'>ADMIN([src.stealth ? pick("BADMIN", "hornigranny", "TLF", "scaredforshadows", "KSI", "Silnazi", "HerpEs", "BJ69", "SpoofedEdd", "Uhangay", "Wario90900", "Regarity", "HorPhareon", "LastFish", "unMportant", "Deurpyn" ) : src.key])</span> says, <span class='message'>\"[msg]\"</span></span>"
|
||||
|
||||
for (var/mob/M in world)
|
||||
if(M.stat == 2 || (M.client && M.client.holder))
|
||||
if(!istype(/mob/new_player, M))
|
||||
M.show_message(rendered, 2)
|
||||
if (istype(M, /mob/new_player))
|
||||
continue
|
||||
if (M.stat == 2 || (M.client && M.client.holder && M.client.deadchat)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above
|
||||
M.show_message(rendered, 2)
|
||||
Reference in New Issue
Block a user