Techokami / SonicWorldsNext

Official development repository for the successor to Sonic Worlds Delta
MIT License
142 stars 30 forks source link

Fix minimum jump height of underwater physics #131

Closed JimmyThrush closed 10 months ago

JimmyThrush commented 10 months ago

A check in Air.gd, that cuts off the player's jump height when the jump button is released, only tested for the default jump release value without accounting for underwater physics, which caused every jump while underwater to reach maximum height. This update checks for the current jump release value to fix the problem.

This is my first PR, so I apologize if I have made any mistakes.

Renhoex commented 10 months ago

looked it over, didn't see any issues with it, seems like it was an oversight on my end. good catch