From: xangelo Date: Thu, 2 Jun 2022 17:52:46 +0000 (-0400) Subject: display error when cant build something X-Git-Url: https://git.xangelo.ca/?p=browser-rts.git;a=commitdiff_plain;h=b9b84e9591bc8cf236563f3982b0edb8ea1dca0b display error when cant build something --- 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} -
- + +