From 04d14853c449014e9e536cafdbe1de5d5f2205ca Mon Sep 17 00:00:00 2001
From: Efnilite <35348263+Efnilite@users.noreply.github.com>
Date: Tue, 20 Jan 2026 16:23:47 +0100
Subject: [PATCH] Fix trailing space in attack ratio troop count. (#2956)
## Description:
Fixes a trailing space in the attack ratio troop count.
**Before**
**After**
## Please complete the following:
- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
## Please put your Discord username so you can be contacted if a bug or
regression is found:
n/a
---
src/client/graphics/layers/ControlPanel.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/client/graphics/layers/ControlPanel.ts b/src/client/graphics/layers/ControlPanel.ts
index cbe0ef70c..f1c183e58 100644
--- a/src/client/graphics/layers/ControlPanel.ts
+++ b/src/client/graphics/layers/ControlPanel.ts
@@ -201,8 +201,7 @@ export class ControlPanel extends LitElement implements Layer {
(${renderTroops(
(this.game?.myPlayer()?.troops() ?? 0) * this.attackRatio,
- )}
- )
+ )})