UI updates and bug fixes
[browser-rts.git] / src / render / fight.ts
index a4864a2e240033a3dcb4456ec5b9de256182ee4f..ee3fbe4d4dffbc989e08720f163146cfc26d250e 100644 (file)
@@ -3,6 +3,7 @@ import { DateTime } from "luxon";
 import { Account } from "../repository/accounts";
 import { ArmyQueueWithAttackedOwner } from "../repository/army";
 import { City, CityRepository, CityWithLocation } from "../repository/city";
+import { topbar } from "./topbar";
 
 const cityRepo = new CityRepository();
 
@@ -146,5 +147,5 @@ export async function launchOffensive(city: CityWithLocation, owner: Account, yo
     </form>
     `;
 
-    return html;
+    return html + topbar(yourCity);
 }
\ No newline at end of file