upload files

This commit is contained in:
SandPoot
2021-02-11 13:22:37 -03:00
parent 456219003c
commit a0c92f0646
36 changed files with 566 additions and 185 deletions
+3 -2
View File
@@ -83,8 +83,9 @@
return ..()
/mob/living/silicon/robot/shared_ui_interaction(src_object)
// Disable UIs if the Borg is unpowered or locked.
if(!cell || cell.charge <= 0 || locked_down)
// Disable UIs if the object isn't installed in the borg AND the borg is either locked, has a dead cell, or no cell.
var/atom/device = src_object
if((istype(device) && device.loc != src) && (!cell || cell.charge <= 0 || locked_down))
return UI_DISABLED
return ..()