From 1b466d90882fa234bc8da8082c73d0d36731522d Mon Sep 17 00:00:00 2001 From: PilkeySEK <156579268+PilkeySEK@users.noreply.github.com> Date: Mon, 10 Mar 2025 21:29:36 +0100 Subject: [PATCH] Possibly fix the NaN bug (#200) There's a bug that when using translators in your browser it shows troops/gold/... as `NaN`, I couldn't get a translator to work to confirm, but this should work --- src/client/graphics/layers/ControlPanel.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/client/graphics/layers/ControlPanel.ts b/src/client/graphics/layers/ControlPanel.ts index 6f5fbf951..42823e798 100644 --- a/src/client/graphics/layers/ControlPanel.ts +++ b/src/client/graphics/layers/ControlPanel.ts @@ -197,7 +197,7 @@ export class ControlPanel extends LitElement implements Layer {