mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
-Fixed message monitor paper not finding a server.
-Updated changelog.html -Fixed the new room not having the right broadcaster and receiver. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4247 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -494,8 +494,12 @@
|
||||
|
||||
/obj/item/weapon/paper/monitorkey/New()
|
||||
..()
|
||||
if(message_servers && message_servers.len > 0)
|
||||
server = message_servers[1]
|
||||
info = "<center><h2>Daily Key Reset</h2></center><br>The new message monitor key is '[server.decryptkey]'.<br>Please keep this a secret and away from the clown.<br>If necessary, change the password to a more secure one."
|
||||
info_links = info
|
||||
overlays += "paper_words"
|
||||
spawn(10)
|
||||
if(message_servers)
|
||||
for(var/obj/machinery/message_server/server in message_servers)
|
||||
if(!isnull(server))
|
||||
if(!isnull(server.decryptkey))
|
||||
info = "<center><h2>Daily Key Reset</h2></center><br>The new message monitor key is '[server.decryptkey]'.<br>Please keep this a secret and away from the clown.<br>If necessary, change the password to a more secure one."
|
||||
info_links = info
|
||||
overlays += "paper_words"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user