ae
This commit is contained in:
@@ -78,6 +78,8 @@
|
||||
|
||||
/mob/living/silicon/ai/shared_ui_interaction(src_object)
|
||||
// Disable UIs if the AI is unpowered.
|
||||
if(apc_override == src_object) //allows AI to (eventually) use the interface for their own APC even when out of power
|
||||
return UI_INTERACTIVE
|
||||
if(lacks_power())
|
||||
return UI_DISABLED
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user