mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
No need for this checks.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user