UI updates and bug fixes
[browser-rts.git] / src / render / unit-training.ts
index 5b4ffcf026cd3d0613af6f76c5ac3da2f73c0c9d..bfed36e2cd33cca3d346141b203327a92370b239 100644 (file)
@@ -2,6 +2,7 @@ import _ from "lodash";
 import { CityWithLocation } from "../repository/city";
 import { UnitTrainingQueue } from "../repository/training-queue";
 import { Unit } from "../repository/unit";
+import { topbar } from "./topbar";
 
 function progressBar(current, max): string {
     const percent = Math.ceil((current/max) * 100);
@@ -114,5 +115,5 @@ export function renderUnitTraining(city: CityWithLocation, units: Unit[], traini
     </div>
     `;
 
-    return html + queues;
+    return html + queues + topbar(city);
 }
\ No newline at end of file