mirror of
https://github.com/goonstation/goonstation-2016.git
synced 2026-07-12 17:42:19 +01:00
so very, very coder
This commit is contained in:
@@ -217,10 +217,10 @@ datum/controller/process/proc/scheck()
|
||||
|
||||
// For each tick the process defers, it increments the cpu_defer_count so we don't
|
||||
// defer indefinitely
|
||||
if (world.tick_usage > 100 || main.world.tick_usage > tick_start + tick_allowance)
|
||||
current_usage += main.world.tick_usage - tick_start
|
||||
sleep(world.tick_lag)
|
||||
LAGCHECK(100 - tick_allowance)
|
||||
if (world.tick_usage > 90 || main.world.tick_usage > tick_start + tick_allowance)
|
||||
current_usage += main.world.tick_usage - tick_start
|
||||
sleep(world.tick_lag)
|
||||
LAGCHECK(90)
|
||||
cpu_defer_count++
|
||||
last_slept = TimeOfHour
|
||||
tick_start = world.tick_usage
|
||||
|
||||
@@ -118,8 +118,8 @@ proc/handle_queued_explosion_dont_call_this_one_directly_fucknuts(atom/source, t
|
||||
T.ex_act(2, last_touched)
|
||||
else
|
||||
T.ex_act(3, last_touched)
|
||||
LAGCHECK(75)
|
||||
|
||||
|
||||
LAGCHECK(75)
|
||||
defer_powernet_rebuild = 0
|
||||
defer_camnet_rebuild = 0
|
||||
RL_Resume()
|
||||
|
||||
Reference in New Issue
Block a user