Whoops that cansprint is in the wrong place

This commit is contained in:
BlackMajor
2019-11-19 22:41:39 +13:00
parent 1b1ed21f42
commit d4f6bc67ca
@@ -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 && !cansprint && (!cell || cell.charge < 25))
if(!shutdown && (!cell || cell.charge < 25) || !cansprint)
return FALSE
sprinting = shutdown ? FALSE : !sprinting
if(!resting && canmove)