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..."