Fixes an oversight with jump boots (#86463)

## About The Pull Request

Tin, the trait doesn't get removed under certain circumstances (not
going to say what they are because it can be exploited easily).

This leads to permanent noslip and zooming around like the gravity
generator is dead.

## Why It's Good For The Game

Fixes an exploitable bug.

## Changelog

🆑
fix: fixed a bug that could sometimes cause jump boots users to retain
the floating trait indefinitely when using the ability
/🆑
This commit is contained in:
Bloop
2024-09-04 21:54:02 -04:00
committed by GitHub
parent 061d2a1204
commit 0b18f165d8
+1
View File
@@ -36,6 +36,7 @@
user.visible_message(span_warning("[usr] dashes forward into the air!"))
recharging_time = world.time + recharging_rate
else
REMOVE_TRAIT(user, TRAIT_MOVE_FLOATING, LEAPING_TRAIT)
to_chat(user, span_warning("Something prevents you from dashing forward!"))
/obj/item/clothing/shoes/bhop/rocket