Skip to content

Commit 97d9d86

Browse files
committed
bonus
1 parent f5f2da4 commit 97d9d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/tgui/states.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
/mob/living/silicon/robot/shared_ui_interaction(src_object)
8181
// Disable UIs if the object isn't installed in the borg AND the borg is either locked, has a dead cell, or no cell.
8282
var/atom/device = src_object
83-
if((istype(device) && device.loc != src) && (get_cell_charge() <= 0 || lockdown))
83+
if((istype(device) && device.loc != src) && (get_cell_charge(src) <= 0 || lockdown))
8484
return UI_DISABLED
8585
return UI_INTERACTIVE
8686

0 commit comments

Comments
 (0)