mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
AI Visible Emotes Fix (#19733)
* Fixed AIs not being able to see visible emotes through holopads. This fix worked on my local, but I'd like a test merge just to be sure.
This commit is contained in:
@@ -77,6 +77,8 @@ Possible to do for anyone motivated enough:
|
||||
|
||||
light_color = long_range ? rgb(225, 173, 125) : rgb(125, 180, 225)
|
||||
|
||||
GLOB.listening_objects += src
|
||||
|
||||
/obj/machinery/hologram/holopad/proc/get_holopad_id()
|
||||
var/area/A = get_area(src)
|
||||
holopad_id = "[A.name] ([src.x]-[src.y]-[src.z])"
|
||||
@@ -522,6 +524,7 @@ For the other part of the code, check silicon say.dm. Particularly robot talk.*/
|
||||
clear_holos(TRUE)
|
||||
SSmachinery.all_holopads -= src
|
||||
linked_pdas.Cut()
|
||||
GLOB.listening_objects -= src
|
||||
return ..()
|
||||
|
||||
/obj/effect/overlay/hologram
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Geeves
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Fixed AIs not being able to see visible emotes through holopads."
|
||||
Reference in New Issue
Block a user