Merge pull request #4940 from Citadel-Station-13/upstream-merge-34626

[MIRROR] Fixes borg cell recharging runtime
This commit is contained in:
deathride58
2018-01-19 19:36:47 +00:00
committed by GitHub
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 ..()