Fix Amortization tooltips

This commit is contained in:
Daniël van Noord committed 2021-07-25 16:20:22 +02:00
1 parent b736015b1c
commit 42543370b7
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ export function CreateTooltip(type, name) {
// Adds amortization info to the list of info per building
if (Game.mods.cookieMonsterFramework.saveData.cookieMonsterMod.settings.TooltipAmor === 1) {
const buildPrice = BuildingGetPrice(
Game.Objects[name],
name,
Game.Objects[name].basePrice,
0,
Game.Objects[name].free,