Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v2.4.0-RC-2) Turns until hourglass charge use: -0 #1707

Closed
bluestmango opened this issue May 14, 2024 · 2 comments
Closed

(v2.4.0-RC-2) Turns until hourglass charge use: -0 #1707

bluestmango opened this issue May 14, 2024 · 2 comments

Comments

@bluestmango
Copy link

Just a small quirk I found. When under a speed-boosting effect and the timekeeper's hourglass drops to 0 turns until charge use, it displays as -0 (negative zero) turns instead.

Confirmed this in both v2.4.0-RC-2 and v2.4.0-RC-1 using Nature's Power & Growing Power +4 for boosting speed
Probably worth checking for this with swiftthistle too, I didn't have any to test

@00-Evan 00-Evan self-assigned this May 16, 2024
@00-Evan 00-Evan added the Quirk label May 16, 2024
@00-Evan 00-Evan added this to the 2.4.1 milestone May 16, 2024
@00-Evan
Copy link
Owner

00-Evan commented May 16, 2024

This is due to floating point rounding errors, the true value of time left is something like -0.000001, which the game treats as 0 to avoid rounding errors removing one extra time freeze action. The game isn't doing that for the buff display though, so it shows -0 instead of 0.

@00-Evan
Copy link
Owner

00-Evan commented May 23, 2024

fixed in commit c9c6380

@00-Evan 00-Evan closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants