upload files
This commit is contained in:
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user