Makes the VTEC subtract 1 speed instead of setting it to -1 [NPFC] (#24104)

* Dear god why didn't we think of this before

* Remove extra space
This commit is contained in:
DGamerL
2024-02-08 22:13:22 +01:00
committed by GitHub
parent c398e4a617
commit 60dadf48fe
@@ -261,21 +261,7 @@
to_chat(usr, "<span class='notice'>There's no room for another VTEC unit!</span>")
return
for(var/obj/item/borg/upgrade/floorbuffer/U in R.contents)
if(R.floorbuffer)
R.floorbuffer = FALSE
R.speed -= U.buffer_speed
for(var/datum/action/innate/robot_magpulse/magpulse in R.module_actions)
if(magpulse.active)
REMOVE_TRAIT(R, TRAIT_MAGPULSE, "innate boots")
to_chat(R, "You turn your magboots off.")
R.speed -= magpulse.slowdown_active
magpulse.button_icon_state = initial(magpulse.button_icon_state)
magpulse.active = FALSE
R.speed = -1 // Gotta go fast.
R.speed -= 1 // Gotta go fast.
return TRUE
/***********************/