mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-28 11:02:41 +00:00
Fixes a bug where intelicarded AIs could not hear if they were being carried/in something.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3227 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -117,11 +117,12 @@
|
||||
hear += C.occupant
|
||||
|
||||
// Intelicards
|
||||
for(var/obj/item/device/aicard/C in V)
|
||||
for(var/obj/item/device/aicard/C in world)
|
||||
for(var/mob/living/silicon/ai/M in C)
|
||||
if(isInSight(source,C))
|
||||
if(M.client)
|
||||
hear += M
|
||||
if(get_turf(C) in V)
|
||||
if(isInSight(source,C))
|
||||
if(M.client)
|
||||
hear += M
|
||||
|
||||
// Brains/MMIs/pAIs
|
||||
for(var/mob/living/carbon/brain/C in world)
|
||||
|
||||
Reference in New Issue
Block a user