This commit is contained in:
Letter N
2021-03-04 22:01:46 +08:00
parent dcab40cdb6
commit f2f97f5855
7 changed files with 198 additions and 5 deletions
+2
View File
@@ -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 ..()