mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
HONK!
This commit is contained in:
@@ -73,7 +73,8 @@ var/list/masterPool
|
|||||||
world << "DEBUG_OBJECT_POOL: initializing [A[i]]"
|
world << "DEBUG_OBJECT_POOL: initializing [A[i]]"
|
||||||
#endif
|
#endif
|
||||||
for (var/j = 1 to STARTING_OBJECT_POOL_COUNT)
|
for (var/j = 1 to STARTING_OBJECT_POOL_COUNT)
|
||||||
Object = Object + new A[j]()
|
var/honk = A[j]
|
||||||
|
Object = Object + new honk()
|
||||||
|
|
||||||
masterPool[A[i]] = Object
|
masterPool[A[i]] = Object
|
||||||
|
|
||||||
@@ -99,7 +100,7 @@ var/list/masterPool
|
|||||||
. = Object
|
. = Object
|
||||||
|
|
||||||
#if DEBUG_OBJECT_POOL
|
#if DEBUG_OBJECT_POOL
|
||||||
world << "DEBUG_OBJECT_POOL: getFromPool([A.type]) [length(masterPool[A])]"
|
world << "DEBUG_OBJECT_POOL: getFromPool([A]) [length(masterPool[A])]"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (0 == length(masterPool[A]))
|
if (0 == length(masterPool[A]))
|
||||||
|
|||||||
Reference in New Issue
Block a user