mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
Limit the pool only to 20 objects.
This commit is contained in:
@@ -220,6 +220,10 @@ datum/controller/game_controller/proc/process()
|
||||
ticker.process()
|
||||
ticker_cost = (world.timeofday - timer) / 10
|
||||
|
||||
// Object Pool
|
||||
if (masterPool.len > 20)
|
||||
masterPool.len = 20
|
||||
|
||||
// GC
|
||||
timer = world.timeofday
|
||||
last_thing_processed = garbage.type
|
||||
|
||||
Reference in New Issue
Block a user