mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] Fixes recursive_content_check (#9479)
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7a2d4cae10
commit
850caf744e
@@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
if(ismob(I))
|
if(ismob(I))
|
||||||
if(!sight_check || isInSight(I, O))
|
if(!sight_check || isInSight(I, O))
|
||||||
L |= recursive_content_check(I, L, recursion_limit - 1, client_check, sight_check, include_mobs, include_objects)
|
L |= recursive_content_check(I, L, recursion_limit - 1, client_check, sight_check, include_mobs, include_objects, ignore_show_messages)
|
||||||
if(include_mobs)
|
if(include_mobs)
|
||||||
if(client_check)
|
if(client_check)
|
||||||
var/mob/M = I
|
var/mob/M = I
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
var/obj/check_obj = I
|
var/obj/check_obj = I
|
||||||
if(ignore_show_messages || check_obj.show_messages)
|
if(ignore_show_messages || check_obj.show_messages)
|
||||||
if(!sight_check || isInSight(I, O))
|
if(!sight_check || isInSight(I, O))
|
||||||
L |= recursive_content_check(I, L, recursion_limit - 1, client_check, sight_check, include_mobs, include_objects)
|
L |= recursive_content_check(I, L, recursion_limit - 1, client_check, sight_check, include_mobs, include_objects, ignore_show_messages)
|
||||||
if(include_objects)
|
if(include_objects)
|
||||||
L |= I
|
L |= I
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user