mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Fixed pAI communicator buttons.
While pAI could open their communicator, they were unable to interact with any of the buttons in its UI. This adds the UI of their own built-in communicator to the other two UIs they were already explicitly allowed to access (those of their own radio and their own interface).
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
return STATUS_UPDATE // Ghosts can view updates
|
||||
|
||||
/mob/living/silicon/pai/default_can_use_topic(var/src_object)
|
||||
if((src_object == src || src_object == radio) && !stat)
|
||||
if((src_object == src || src_object == radio || src_object == communicator) && !stat)
|
||||
return STATUS_INTERACTIVE
|
||||
else
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user