From f9e2fbab4096041dba10ecdcc493b99748a480bb Mon Sep 17 00:00:00 2001 From: ESwordTheCat Date: Mon, 7 Apr 2014 22:25:07 +0800 Subject: [PATCH] It should be a type. --- code/__HELPERS/experimental.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__HELPERS/experimental.dm b/code/__HELPERS/experimental.dm index 90e2553c19b..78e57f5cebf 100644 --- a/code/__HELPERS/experimental.dm +++ b/code/__HELPERS/experimental.dm @@ -100,7 +100,7 @@ var/list/masterPool * Example call: returnToPool(src) */ /proc/returnToPool(atom/movable/A) - if (isnull(masterPool[A])) + if (isnull(masterPool[A.type])) #if DEBUG_OBJECT_POOL world << "DEBUG_OBJECT_POOL: [A.type] pool is empty, recreating list." #endif