Fixed rounding issues with HC per second

This commit is contained in:
Daniël van Noord
2021-02-21 00:15:27 +01:00
parent fdc94dd2db
commit 69a151a25a
3 changed files with 6 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ CM.Main.ReplaceNative = function() {
.split('document.title')
.join('CM.Disp.Title')
.split("' more cookies</b> for the next level.<br>';")
.join("` more cookies</b> for the next level.<br>${CM.Options.TooltipAscendButton ? `<div class='line'></div>It takes ${CM.Cache.TimeTillNextPrestige} to reach the next level and you are making ${CM.Cache.HCPerSecond} chips on average in the last 5 seconds.<br>` : ``}`;")}`,
.join("` more cookies</b> for the next level.<br>${CM.Options.TooltipAscendButton ? `<div class='line'></div>It takes ${CM.Cache.TimeTillNextPrestige} to reach the next level and you are making ${Beautify(CM.Cache.HCPerSecond, 2)} chips on average in the last 5 seconds.<br>` : ``}`;")}`,
)();
Game.Logic = function() {
CM.Backup.LogicMod();