diff --git a/code/_onclick/hud/human.dm b/code/_onclick/hud/human.dm index e2da056b0e..0b168ec418 100644 --- a/code/_onclick/hud/human.dm +++ b/code/_onclick/hud/human.dm @@ -380,8 +380,10 @@ victims += locate(/obj/screen/sprintbutton) in static_inventory victims += locate(/obj/screen/sprint_buffer) in sttatic_inventory if(victims) - QDEL_LIST(victims) static_inventory -= victims + if(mymob?.client) + mymob.client.screen_objects -= victims + QDEL_LIST(victims) // make new ones using = new /obj/screen/mov_intent diff --git a/code/controllers/configuration/entries/game_options.dm b/code/controllers/configuration/entries/game_options.dm index 3c1c15968a..4e40ecfd96 100644 --- a/code/controllers/configuration/entries/game_options.dm +++ b/code/controllers/configuration/entries/game_options.dm @@ -293,6 +293,11 @@ /datum/config_entry/flag/sprint_enabled config_entry_value = TRUE +/datum/config_entry/flag/sprint_enabled/ValidateAndSet(str_val) + . = ..() + for(var/datum/hud/human/H) + H.assert_move_intent_ui() + /datum/config_entry/number/movedelay/sprint_speed_increase config_entry_value = 1