Reeling resets when you release the reel in button
Geekswordsman opened this issue · comments
Foundry v10.286
Obligatory Fishing Minigame v1.1.0
Browser: Edge/Firefox
When reeling in a fish, if you release the reel in button the reel resets back to the bottom, no errors in console.
Fishing_Minigame_Error.webm
This seems to be an issue with duration: parseInt(app.rod.baitWeight) * 1000
which always resolves to 0 for any "improved" values of less than the default 1. Using parseFloat
fixes the issue.
I made the change and it did not fix it for me. If I let go it just goes to the bottom...not instantly like the above video, but it wont go back up until it hits the bottom.