mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
fixes a coding error
This commit is contained in:
parent
3bc260b8b8
commit
33bbaba3dd
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ export function setUpDailyProgressTracker(options: {
|
|||
if (main.day.value !== options.day) return 1;
|
||||
let progress = Decimal.add(total.value, 1);
|
||||
let requirement = options.goal;
|
||||
if (options.usingLog ?? player.usingLog) {
|
||||
if (options.usingLog?.value ?? player.usingLog) {
|
||||
progress = progress.log10();
|
||||
requirement = Decimal.log10(requirement);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue