We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f2da4 commit 97d9d86Copy full SHA for 97d9d86
code/modules/tgui/states.dm
@@ -80,7 +80,7 @@
80
/mob/living/silicon/robot/shared_ui_interaction(src_object)
81
// Disable UIs if the object isn't installed in the borg AND the borg is either locked, has a dead cell, or no cell.
82
var/atom/device = src_object
83
- if((istype(device) && device.loc != src) && (get_cell_charge() <= 0 || lockdown))
+ if((istype(device) && device.loc != src) && (get_cell_charge(src) <= 0 || lockdown))
84
return UI_DISABLED
85
return UI_INTERACTIVE
86
0 commit comments