From 643bf8aa349d4dc38e17601d30e2a31089ce655c Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 8 Dec 2018 20:39:26 -0500
Subject: [PATCH] fix

---
 src/SecExp/secBarracks.tw | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/SecExp/secBarracks.tw b/src/SecExp/secBarracks.tw
index 909102cca41..87f2ef64af0 100644
--- a/src/SecExp/secBarracks.tw
+++ b/src/SecExp/secBarracks.tw
@@ -191,7 +191,7 @@ You are free to organize your menial slaves into fighting units. Currently you h
 <<if $helots > 0 && $activeUnits < $maxUnits>>
 	<br>
 	<<link "Form a new unit" "secBarracks">>
-		<<set _name = "<<= ordinalSuffix($createdMercUnits+1)>> slave platoon">>
+		<<set _name = "<<= ordinalSuffix($createdSlavesUnits+1)>> slave platoon">>
 		<<if $helots >= $maxTroops>>
 			<<set _newUnit = {
 			ID: 0,
@@ -333,7 +333,7 @@ __Militia__
 	<<if $militiaFreeManpower > 0 && $activeUnits < $maxUnits>>
 		<br>
 		<<link "Form a new unit" "secBarracks">>
-			<<set _name = "<<= ordinalSuffix($createdMercUnits+1)>> citizens' platoon">>
+			<<set _name = "<<= ordinalSuffix($createdMilitiaUnits+1)>> citizens' platoon">>
 			<<if $militiaFreeManpower >= $maxTroops>>
 				<<set _newUnit = {
 				ID: 0,
-- 
GitLab