diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 1adaa35cd6f..6f1bb8650ed 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -480,7 +480,8 @@ GLOBAL_REAL(Master, /datum/controller/master) = new tick_remaining = TICK_LIMIT_RUNNING - TICK_USAGE if (current_tick_budget > 0 && queue_node_priority > 0) - tick_precentage = tick_remaining / (current_tick_budget / queue_node_priority) + //Give the subsystem a precentage of the remaining tick based on the remaning priority + tick_precentage = tick_remaining * (queue_node_priority / current_tick_budget) else tick_precentage = tick_remaining