Adds ticklag to be a config setting.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3491 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-04-22 01:19:10 +00:00
parent e582b627f7
commit 13ff994f64
4 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
if(!src.mob) return
if(src.holder.rank in list("Game Admin", "Game Master"))
var/newtick = input("Sets a new tick lag. Please don't mess with this too much! The stable, time-tested ticklag value is 0.9",, 0.9) as num|null
var/newtick = input("Sets a new tick lag. Please don't mess with this too much! The stable, time-tested ticklag value is 0.9","Lag of Tick", world.tick_lag) as num|null
//I've used ticks of 2 before to help with serious singulo lags
if(newtick && newtick <= 2 && newtick > 0)
log_admin("[key_name(src)] has modified world.tick_lag to [newtick]", 0)