Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# About the pull request Somebody mentioned seeing incorrect numbers for "you need to play X more xeno hours to unlock prefix/postfix". Turns out, `time_left_until()` is defined as `Ceiling(target_time - current time)`, which translates to `-round( - target_time - current time)`, or in other words, `round(target_time + current_time)`. In general, any byond macro involving doing math on the argument should probably have that argument bracketed every time it appears to avoid precisely this nonsense. # Explain why it's good for the game Is fix. # Changelog :cl: fix: Some cases of calculations for "time remaining until something" no longer display incorrect results. /:cl:
- Loading branch information