UltraTimerFix
Fixes the Ultrakill timer to be more accurate. Source code is in the mod.UltraTimerFix
A relatively small mod fixing an issue with the in-game timer wherein the in-game timer would be gradually less and less accurate due to floating point error. Although this one is still not perfectly accurate, it is far more accurate than the old timer. With the old timer, the timer went up to 0.4 seconds of inaccuracy over just 4m 30s due to frame stutters and the old delta time method.
[hakita pls fix]
This uses Time.time so it should be accurate down to the millisecond up until ~9 hours in. Yes, this does not fully fix the issue, but it mitigates it to the point where it should not affect regular gameplay and most speedruns.
Source code is in the mod.
Please ping me in an Ultrakill related server (@The123123123) if you notice a discrepancy between the game and the mod [timer desync, timer continuing/stopping where it shouldnt, etc.]
Changelog:
v1.0.1 - Fixed icon, cleaned up website
v1.0.2 - Cleaned code up
v1.0.3 - Fixed issue relating to timer inaccuracy in 8-1
v1.0.4 - Made the accumulator method use timestamps so it is the most accurate and updated README.md
Depends on BepinEx.
License: MIT
