From 6ecfe386bb0d8b6850d550f614fcb9e3aa65d806 Mon Sep 17 00:00:00 2001 From: ESwordTheCat Date: Sun, 4 May 2014 01:15:59 -0800 Subject: [PATCH] New way to turn on/off the debug. --- code/__HELPERS/experimental.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/experimental.dm b/code/__HELPERS/experimental.dm index e021910e7f3..8e050fba9d1 100644 --- a/code/__HELPERS/experimental.dm +++ b/code/__HELPERS/experimental.dm @@ -48,7 +48,9 @@ * WARNING, only supports /mob and /obj. */ -#define DEBUG_OBJECT_POOL 0 +// Comment out to show debug messages. +//#define DEBUG_OBJECT_POOL + #define MAINTAINING_OBJECT_POOL_COUNT 20 var/list/masterPool = list() @@ -119,7 +121,10 @@ var/list/masterPool = list() #endif #undef MAINTAINING_OBJECT_POOL_COUNT + +#ifdef DEBUG_OBJECT_POOL #undef DEBUG_OBJECT_POOL +#endif /* * Override this if the object variables needed to reset.