mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixes atom pooling return code.
This commit is contained in:
@@ -34,12 +34,10 @@ var/global/list/GlobalPool = list()
|
|||||||
if(!AM)
|
if(!AM)
|
||||||
if(ispath(get_type))
|
if(ispath(get_type))
|
||||||
if(islist(second_arg))
|
if(islist(second_arg))
|
||||||
AM = new get_type (arglist(second_arg))
|
return new get_type (arglist(second_arg))
|
||||||
else
|
else
|
||||||
AM = new get_type (second_arg)
|
return new get_type (second_arg)
|
||||||
else
|
return AM
|
||||||
return AM
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/proc/GetFromPool(var/get_type,var/second_arg)
|
/proc/GetFromPool(var/get_type,var/second_arg)
|
||||||
|
|||||||
Reference in New Issue
Block a user