From 57678664d486ca4dd08986e44e4366618e927c89 Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 20 May 2022 20:34:59 +0200 Subject: [PATCH] Fix DOM token error in watermark --- src/js/game/hud/parts/watermark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/hud/parts/watermark.js b/src/js/game/hud/parts/watermark.js index 17b6a975..053e886e 100644 --- a/src/js/game/hud/parts/watermark.js +++ b/src/js/game/hud/parts/watermark.js @@ -25,7 +25,7 @@ export class HUDWatermark extends BaseHUDPart { this.linkElement = makeDiv( parent, "ingame_HUD_WatermarkClicker", - globalConfig.currentDiscount.active ? ["withDiscount"] : [""], + globalConfig.currentDiscount.active ? ["withDiscount"] : [], T.ingame.watermark.get_on_steam + (globalConfig.currentDiscount.active ? `${globalConfig.currentDiscount.amount}% off!`