From b9b84e9591bc8cf236563f3982b0edb8ea1dca0b Mon Sep 17 00:00:00 2001 From: xangelo Date: Thu, 2 Jun 2022 13:52:46 -0400 Subject: [PATCH] display error when cant build something --- src/render/land-development.ts | 4 ++-- src/render/unit-training.ts | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/render/land-development.ts b/src/render/land-development.ts index 0c1fad9..9cd4eb7 100644 --- a/src/render/land-development.ts +++ b/src/render/land-development.ts @@ -32,8 +32,8 @@ export function renderLandDevelopment(city: CityWithLocation, buildings: Buildin ${building.display} ${city[building.slug]} -
- + +
diff --git a/src/render/unit-training.ts b/src/render/unit-training.ts index a177dec..5742d94 100644 --- a/src/render/unit-training.ts +++ b/src/render/unit-training.ts @@ -30,8 +30,8 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini Soldiers ${city.soldiers} -
- + +
@@ -42,8 +42,8 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini Attackers ${city.attackers} -
- + +
@@ -54,8 +54,8 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini Defenders ${city.defenders} -
- + +
@@ -66,8 +66,8 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini Special Attackers ${city.sp_attackers} -
- + +
@@ -79,8 +79,8 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini Special Defenders ${city.sp_defenders} -
- + +
-- 2.25.1