X-Git-Url: https://git.xangelo.ca/?a=blobdiff_plain;f=src%2Frender%2Fmap.ts;h=a9e83493b1a002f1bfe2da6d32a04630218e1c43;hb=9c0287740b282030291008cd9cf204c7f1ca8958;hp=219103d5cfb5f76b5051d7e3a0a51baaad503482;hpb=aa9d5e6223a080da56cef99693e13c4f7f840da7;p=browser-rts.git diff --git a/src/render/map.ts b/src/render/map.ts index 219103d..a9e8349 100644 --- a/src/render/map.ts +++ b/src/render/map.ts @@ -2,10 +2,8 @@ import _ from "lodash"; 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"; +import { CityRepository, CityWithLocation } from "../repository/city"; import { AVAILABLE_SECTORS } from '../config'; -import {initArray} from "../lib/util"; const cityRepo = new CityRepository(); @@ -181,5 +179,5 @@ export async function launchOffensive(city: CityWithLocation, owner: Account, yo `; - return html + topbar(yourCity); + return html; }