mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-04 06:23:19 +00:00
Map updated:
Bugfix for the bar (pipe and light). AI upload and AI upload foyer are diveded into two separete areas. Blender moved to the right. Update from Nikie: KickInactiveClients now works! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1471 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -41,14 +41,13 @@ var/opt_inactive = null
|
||||
/world/proc/KickInactiveClients()
|
||||
for(var/client/C)
|
||||
if(!C.holder && ((C.inactivity/10)/60) >= 10) // Used to be 15 -- TLE
|
||||
C << "\red You have been inactive for more than 10 minutes and have been disconnected."
|
||||
/*
|
||||
//C << "\red You have been inactive for more than 10 minutes and have been disconnected."
|
||||
if(C.mob)
|
||||
if(!istype(C.mob, /mob/dead/))
|
||||
C << "\red Your character has also been killed to save on server resources."
|
||||
C.mob.death(0) // Added to lighten the load they take on the server -- TLE
|
||||
log_access("AFK: [key_name(C)]")
|
||||
C << "\red You have been inactive for more than 10 minutes and have been disconnected."
|
||||
C.mob.logged_in = 0
|
||||
del(C)
|
||||
*/
|
||||
|
||||
/// EXPERIMENTAL STUFF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user