Fps and glide speed

Fps and glide speed
and walk speed making your glide slower
This commit is contained in:
QuoteFox
2020-08-14 00:05:04 +01:00
parent dc74bdd204
commit eaf38d2910
6 changed files with 7 additions and 4 deletions
+2
View File
@@ -365,8 +365,10 @@
/mob/proc/toggle_move_intent(mob/user)
if(m_intent == MOVE_INTENT_RUN)
m_intent = MOVE_INTENT_WALK
glide_size = 4
else
m_intent = MOVE_INTENT_RUN
glide_size = 8
if(hud_used && hud_used.static_inventory)
for(var/obj/screen/mov_intent/selector in hud_used.static_inventory)
selector.update_icon(src)