diff --git a/frontend/src/ts/elements/account-button.ts b/frontend/src/ts/elements/account-button.ts index 1a5f53771..d5d266d22 100644 --- a/frontend/src/ts/elements/account-button.ts +++ b/frontend/src/ts/elements/account-button.ts @@ -72,7 +72,7 @@ export async function update( export async function updateXpBar( currentXp: number, addedXp: number, - _withDailyBonus: boolean + withDailyBonus: boolean ): Promise { const startingLevel = Misc.getLevel(currentXp); const endingLevel = Misc.getLevel(currentXp + addedXp); @@ -80,7 +80,9 @@ export async function updateXpBar( $("#menu .xpBar").stop(true, true).css("opacity", 0); - $("#menu .xpBar .xpGain").text(`+${addedXp}`); + $("#menu .xpBar .xpGain").text( + `+${addedXp} ${withDailyBonus ? "daily bonus" : ""}` + ); await Misc.promiseAnimation( $("#menu .xpBar"),