From 5d9bee2b2efcfc36a322d35bbefde47c6e5647a8 Mon Sep 17 00:00:00 2001 From: ESwordTheCat Date: Tue, 29 Apr 2014 07:29:34 -0800 Subject: [PATCH] Disable object pool debug. --- code/__HELPERS/experimental.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/experimental.dm b/code/__HELPERS/experimental.dm index 4911b37dd13..d9e7cb1e960 100644 --- a/code/__HELPERS/experimental.dm +++ b/code/__HELPERS/experimental.dm @@ -48,7 +48,7 @@ * WARNING, only supports /mob and /obj. */ -#define DEBUG_OBJECT_POOL 1 +#define DEBUG_OBJECT_POOL 0 #define MAINTAINING_OBJECT_POOL_COUNT 20 var/list/masterPool = list() @@ -104,6 +104,7 @@ var/list/masterPool = list() #endif masterPool[Object.type] = list() + // A way to limit else if (length(masterPool[Object.type]) > MAINTAINING_OBJECT_POOL_COUNT) #if DEBUG_OBJECT_POOL world << "DEBUG_OBJECT_POOL: returnToPool([Object.type]) exceeds [num2text(MAINTAINING_OBJECT_POOL_COUNT)] discarding..."