It should be a type.

This commit is contained in:
ESwordTheCat
2014-04-07 22:25:07 +08:00
committed by ZomgPonies
parent 28b8001188
commit f9e2fbab40
+1 -1
View File
@@ -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