Merge pull request #34626 from ShizCalev/borg-recharge-runtime

Fixes borg cell recharging runtime
This commit is contained in:
Jordan Brown
2018-01-19 10:00:06 -05:00
committed by CitadelStationBot
parent c6f227fc18
commit 495bbb0101
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 ..()