From 0b18f165d80ef85613a2ec08f0d242549ef380c9 Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:54:02 -0400 Subject: [PATCH] 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 :cl: fix: fixed a bug that could sometimes cause jump boots users to retain the floating trait indefinitely when using the ability /:cl: --- code/modules/clothing/shoes/jumpboots.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/clothing/shoes/jumpboots.dm b/code/modules/clothing/shoes/jumpboots.dm index 3446c2e7c78..dc9dadcea5a 100644 --- a/code/modules/clothing/shoes/jumpboots.dm +++ b/code/modules/clothing/shoes/jumpboots.dm @@ -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