mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 19:14:15 +01:00
Fixes Belligerent not updating the hud walk/run button
This commit is contained in:
@@ -414,7 +414,10 @@
|
||||
/client/verb/toggle_walk_run()
|
||||
set name = "toggle-walk-run"
|
||||
set hidden = 1
|
||||
if(mob)
|
||||
mob.toggle_move_intent()
|
||||
|
||||
if(mob && mob.hud_used && mob.hud_used.static_inventory)
|
||||
for(var/obj/screen/mov_intent/selector in mob.hud_used.static_inventory)
|
||||
selector.toggle(mob);
|
||||
/mob/proc/toggle_move_intent()
|
||||
if(hud_used && hud_used.static_inventory)
|
||||
for(var/obj/screen/mov_intent/selector in hud_used.static_inventory)
|
||||
selector.toggle(src)
|
||||
|
||||
Reference in New Issue
Block a user