mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
final tweaks
This commit is contained in:
@@ -297,6 +297,9 @@
|
|||||||
. = ..()
|
. = ..()
|
||||||
for(var/datum/hud/human/H)
|
for(var/datum/hud/human/H)
|
||||||
H.assert_move_intent_ui()
|
H.assert_move_intent_ui()
|
||||||
|
if(!config_entry_value) // disabled
|
||||||
|
for(var/mob/living/L in world)
|
||||||
|
L.disable_intentional_sprint_mode()
|
||||||
|
|
||||||
/datum/config_entry/number/movedelay/sprint_speed_increase
|
/datum/config_entry/number/movedelay/sprint_speed_increase
|
||||||
config_entry_value = 1
|
config_entry_value = 1
|
||||||
|
|||||||
@@ -63,6 +63,8 @@
|
|||||||
update_sprint_icon()
|
update_sprint_icon()
|
||||||
|
|
||||||
/mob/living/proc/user_toggle_intentional_sprint_mode()
|
/mob/living/proc/user_toggle_intentional_sprint_mode()
|
||||||
|
if(!CONFIG_GET(flag/sprint_enabled))
|
||||||
|
return
|
||||||
var/old = (combat_flags & COMBAT_FLAG_SPRINT_TOGGLED)
|
var/old = (combat_flags & COMBAT_FLAG_SPRINT_TOGGLED)
|
||||||
if(old)
|
if(old)
|
||||||
if(combat_flags & COMBAT_FLAG_SPRINT_FORCED)
|
if(combat_flags & COMBAT_FLAG_SPRINT_FORCED)
|
||||||
|
|||||||
Reference in New Issue
Block a user