mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 14:03:25 +00:00
Modifies tick_lag to 0.6. It shouldn't cause any problems, but just in case, Game Masters have been given the ability to modify tick_lag on the fly. This SHOULD make the game feel a lot smoother.
Fix for people being unable to modify NTSL code. Fix for not being able to use pills as pill-satchels properly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3401 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -366,7 +366,18 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
message_admins("[key_name_admin(src)] has turned the experimental radio system [GLOBAL_RADIO_TYPE ? "on" : "off"].", 0)
|
||||
|
||||
|
||||
/client/proc/cmd_admin_ticklag()
|
||||
set category = "Debug"
|
||||
set name = "Set Ticklag"
|
||||
set desc = "Sets a new tick lag. Recommend you don't mess with this too much! Stable, time-tested ticklag value is 0.9"
|
||||
|
||||
var/newtick = input("Sets a new tick lag. Recommend you don't mess with this too much! Stable, time-tested ticklag value is 0.9",, 0.9) as num|null
|
||||
if(newtick)
|
||||
if(newtick <= 1 && newtick >= 0)
|
||||
log_admin("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
|
||||
message_admins("[key_name(src)] has modified world.tick_lag to [newtick]", 0)
|
||||
|
||||
world.tick_lag = newtick
|
||||
|
||||
|
||||
/client/proc/cmd_admin_dress(var/mob/living/carbon/human/M in world)
|
||||
|
||||
Reference in New Issue
Block a user