mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
The server will now inform the socket_talk process of reboots.
This commit is contained in:
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user