Fixes borg cell recharging runtime

This commit is contained in:
ShizCalev
2018-01-19 02:18:40 -05:00
parent 40d59f6d28
commit 6179f74fb7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@
return ..()
/mob/living/silicon/robot/shared_ui_interaction(src_object)
if(cell.charge <= 0 || lockcharge) // Disable UIs if the Borg is unpowered or locked.
if(!cell || cell.charge <= 0 || lockcharge) // Disable UIs if the Borg is unpowered or locked.
return UI_DISABLED
return ..()