mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Added a config.txt option to manually designate a server address, as the current world.address method doesn't work right.
Fixed a runtime error I noticed in login.dm git-svn-id: http://tgstation13.googlecode.com/svn/trunk@100 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -128,7 +128,10 @@
|
||||
// M << sound('NewRound.ogg')
|
||||
|
||||
for(var/client/C)
|
||||
C << link("byond://[world.address]:[world.port]")
|
||||
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]")
|
||||
else
|
||||
C << link("byond://[world.address]:[world.port]")
|
||||
|
||||
// sleep(10) // wait for sound to play
|
||||
..(reason)
|
||||
|
||||
Reference in New Issue
Block a user