Added option KICK_INACTIVE. Uncomment it in config.txt if you want to disconnect inactive players.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1472 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2011-04-18 15:47:20 +00:00
parent f908e53d8e
commit 65a0eefcf7
3 changed files with 13 additions and 6 deletions

View File

@@ -15,12 +15,13 @@
LoadBans()
process_teleport_locs() //Sets up the wizard teleport locations
process_ghost_teleport_locs() //Sets up ghost teleport locations.
spawn(30)
//EXPERIMENTAL
Optimize()
sleep_offline = 1
//EXPERIMENTAL
sleep_offline = 1
if (config.kick_inactive)
spawn(30)
//EXPERIMENTAL
Optimize()
//EXPERIMENTAL
spawn(0)
SetupOccupationsList()