Update living.dm

This commit is contained in:
kevinz000
2020-01-22 01:12:44 -07:00
committed by GitHub
parent b47f92716e
commit 871ae49192
@@ -17,6 +17,12 @@
var/sprint_stamina_cost = 0.70 //stamina loss per tile while insufficient sprint buffer.
//---End
/mob/living/update_config_movespeed()
. = ..()
sprint_buffer_max = CONFIG_GET(number/movespeed/sprint_buffer_max)
sprint_buffer_regen_ds = CONFIG_GET(number/movespeed/sprint_buffer_regen_per_ds)
sprint_stamina_cost = CONFIG_GET(number/movespeed/sprint_stamina_cost)
/mob/living/movement_delay(ignorewalk = 0)
. = ..()
if(resting)