mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 16:13:54 +00:00
Fix issue with estimate time
This commit is contained in:
parent
4510cd0b43
commit
be9b837558
1 changed files with 2 additions and 3 deletions
|
@ -129,10 +129,9 @@ export function createPlane(id: string, tier: Resources, seed: number) {
|
|||
description
|
||||
}
|
||||
}));
|
||||
const eta = estimateTime(resource, computedResourceGain, cost);
|
||||
addTooltip(upgrade, {
|
||||
display: upgrade.bought.value
|
||||
? ""
|
||||
: estimateTime(resource, computedResourceGain, cost),
|
||||
display: () => (upgrade.bought.value ? "" : eta.value),
|
||||
direction: Direction.Down
|
||||
});
|
||||
upgrades.push(upgrade);
|
||||
|
|
Loading…
Reference in a new issue