No need for this checks.

This commit is contained in:
ESwordTheCat
2014-04-11 07:36:14 +08:00
parent aefa371da4
commit eda8b02225

View File

@@ -167,8 +167,8 @@
continue continue
L |= A L |= A
if(isobj(A) || ismob(A)) L = recursive_mob_check(A, L, recursion_limit - 1, client_check, sight_check, include_radio)
L = recursive_mob_check(A, L, recursion_limit - 1, client_check, sight_check, include_radio)
return L return L
// The old system would loop through lists for a total of 5000 per function call, in an empty server. // The old system would loop through lists for a total of 5000 per function call, in an empty server.
@@ -194,8 +194,7 @@
else if(istype(A, /obj/item/device/radio)) else if(istype(A, /obj/item/device/radio))
hear += A hear += A
if(isobj(A) || ismob(A)) hear = recursive_mob_check(A, hear, 3, 1, 0, 1)
hear = recursive_mob_check(A, hear, 3, 1, 0, 1)
return hear return hear