Merge pull request #9863 from BlackMajor/Yote

No adrenals for borgs please
This commit is contained in:
nik707
2019-12-12 23:50:34 -06:00
committed by GitHub
3 changed files with 6 additions and 2 deletions
@@ -14,7 +14,7 @@
. += speed
/mob/living/silicon/robot/proc/togglesprint(shutdown = FALSE) //Basically a copypaste of the proc from /mob/living/carbon/human
if(!shutdown && (!cell || cell.charge < 25))
if(!shutdown && (!cell || cell.charge < 25) || !cansprint)
return FALSE
sprinting = shutdown ? FALSE : !sprinting
if(!resting && canmove)