mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-18 13:43:27 +00:00
* Fixes a bug where glide-size could become out of sync if you get unbuckled (#73150) This fixes a bug where you could theoretically un-sync your glide-size from your movespeed if you unbuckled. Currently, if you unbuckle, we use a proc that's only used there which gets all of the slowdowns from all of your movespeed modifiers. There's two problems with that: 1. We already have a variable with your movespeed (cached) 2. This proc does not check any of the conditionals that might make a movespeed modifier not apply, such as whether or not you are flying, or if you're immune to it for some other reason. This means that in specific edge-cases you could mess up your glide-size. I have not actually seen this happen, but this seems like a better way of doing it :) * Fixes a bug where glide-size could become out of sync if you get unbuckled --------- Co-authored-by: CapybaraExtravagante <110635252+CapybaraExtravagante@users.noreply.github.com>