diff --git a/code/_onclick/hud/robot.dm b/code/_onclick/hud/robot.dm index c857c56861..3ab7410269 100644 --- a/code/_onclick/hud/robot.dm +++ b/code/_onclick/hud/robot.dm @@ -216,6 +216,23 @@ var/obj/screen/robot_inventory client.screen += list( throw_icon, zone_sel, hands, healths, pullin, robot_inventory, gun_setting_icon) client.screen += HUD.adding + HUD.other client.screen += client.void + if(vtec_active) + using = new /obj/screen() + using.name = "control_vtec" + using.icon = HUD.ui_style + using.screen_loc = ui_vtec_control + using.color = HUD.ui_color + using.alpha = HUD.ui_alpha + if(speed == 0) + using.icon_state = "speed_0" + else if(speed == -0.5) + using.icon_state = "speed_1" + else if(speed == -1) + using.icon_state = "speed_2" + HUD.control_vtec = using + m_intent = "run" + HUD.move_intent.icon_state = "running" + client.screen += HUD.control_vtec /datum/hud/proc/toggle_vtec_control() if(!isrobot(mymob))