Developer postOriginal post (opens in a new tab)

πŸ› Hotfix 1.0.4.1 β€” Infinite Value Upgrade Bug Fix

Hello everyone!

This is a small hotfix to address a bug that caused upgrade values to reach infinity after around 600 purchases.

βœ… Bug fix:

Thanks to user Prof.Vaharrak, we discovered that the upgrade multiplier was using a float type, which has a maximum value of 3.402823466e+38. This was causing calculations to overflow and return Infinity.

The multiplier calculation now uses double, which supports values up to 1.79769E+308.

Additionally, a safety cap has been added to prevent values from exceeding 1.79769E+308, ensuring they never become infinite again.

Thank you again to Prof.Vaharrak for the report.