diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 53ec10e31e..476a8b6810 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -270,9 +270,9 @@ if("run") if(mob.drowsyness > 0) move_delay += 6 - move_delay += 1+config.run_speed + move_delay += config.run_speed if("walk") - move_delay += 7+config.walk_speed + move_delay += config.walk_speed move_delay += mob.movement_delay() var/tickcomp = 0 //moved this out here so we can use it for vehicles @@ -351,7 +351,7 @@ M.animate_movement = 2 return - else + else if(mob.confused) switch(mob.m_intent) if("run") diff --git a/html/changelogs/Anewbe - MovementSpeed.yml b/html/changelogs/Anewbe - MovementSpeed.yml new file mode 100644 index 0000000000..fbc678a024 --- /dev/null +++ b/html/changelogs/Anewbe - MovementSpeed.yml @@ -0,0 +1,37 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +################################# + +# Your name. +author: Anewbe + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Changed run/walk speed to be based only on a config file." + - tweak: "Walking should be faster now." \ No newline at end of file