From d130b9e3b42bb0ec34ba41e686a27d9a2e4b292c Mon Sep 17 00:00:00 2001
From: x <okp57855@psoxs.com>
Date: Sat, 25 Aug 2018 22:20:38 +1200
Subject: [PATCH] CommaNum

---
 src/SecExp/attackReport.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SecExp/attackReport.tw b/src/SecExp/attackReport.tw
index 207c0c9ee08..766506d55e2 100644
--- a/src/SecExp/attackReport.tw
+++ b/src/SecExp/attackReport.tw
@@ -132,7 +132,7 @@
 <<if $attackType == "raiders">>
 	Today, the _day of _month _year, our arcology was attacked by a band of wild raiders, $attackTroops men strong.
 	<<if $battleResult != 1 && $battleResult != 0 && $battleResult != -1>>
-		Our defense forces, $troopCount strong, clashed with them
+		Our defense forces, <<print commaNum(Math.trunc($troopCount))>> strong, clashed with them
 		<<if $battleTerrain == "urban">>
 			in the streets of <<if $terrain == "urban">>the old world city surrounding the arcology<<else>>of the free city<</if>>,
 			<<elseif $battleTerrain == "rural">>
-- 
GitLab