From 184c0775a62ecbc1e3baa914ec3fdb4ef3e77fb3 Mon Sep 17 00:00:00 2001 From: cib Date: Sat, 23 Jun 2012 08:11:12 -0700 Subject: [PATCH] The server will now inform the socket_talk process of reboots. --- code/game/cellautomata.dm | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/code/game/cellautomata.dm b/code/game/cellautomata.dm index 5e7d6d6ffd3..0dbec71e649 100644 --- a/code/game/cellautomata.dm +++ b/code/game/cellautomata.dm @@ -143,17 +143,8 @@ //Crispy fullban /world/Reboot(var/reason) - spawn(0) - //world << sound(pick('newroundsexy.ogg','apcdestroyed.ogg','bangindonk.ogg')) // random end sounds!! - LastyBatsy No, no random end sounds. - Miniature - //if(prob(40)) - // for(var/mob/M in world) - // if(M.client) - // M << sound('newroundsexy.ogg') - //else - // for(var/mob/M in world) - // if(M.client) - // M << sound('apcdestroyed.ogg') send2irc(world.url,"Server Rebooting!") + socket_talk.send_raw("type=reboot") for(var/client/C) if (config.server) //if you set a server location in config.txt, it sends you there instead of trying to reconnect to the same world address. -- NeoFite C << link("byond://[config.server]")