mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 02:02:39 +00:00
* Lets get this show on the road
* Now were talking
* These matter
* Oh the joys of CI testing
* And this
* Wrong version
* Tweaks
* More tweaks
* Lets document this
* This too
* Upgrades this
* Fixed some sanity issues
* This too
* Screw it, this too
* More sanity
* And these
* This too
* Documentation
* This too
* Fixes **awful** scoreboard logic
* Why do we care about only half-absorbing someone
* Revert "Why do we care about only half-absorbing someone"
This reverts commit 8de1cfdf05.
* Refactors these
* Hashing
* Moxian tweaks
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
//Merged Doohl's and the existing ticklag as they both had good elements about them ~Carn
|
|
|
|
/client/proc/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"
|
|
|
|
if(!check_rights(R_DEBUG)) return
|
|
|
|
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)
|
|
message_admins("[key_name_admin(src)] has modified world.tick_lag to [newtick]", 0)
|
|
world.tick_lag = newtick
|
|
SSblackbox.record_feedback("tally", "admin_verb", 1, "Set Ticklag") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
else
|
|
to_chat(src, "<span class='warning'>Error: ticklag(): Invalid world.ticklag value. No changes made.</span>")
|
|
|
|
|