From b3e1b4442668920ebd7c4d787ffe8b117c3b40b3 Mon Sep 17 00:00:00 2001 From: Evan Date: Mon, 10 Feb 2025 16:27:46 -0800 Subject: [PATCH] use pngs instead of svgs for structure icons. StructureLayer interates through the image so it needs pixels --- src/client/graphics/layers/StructureLayer.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/graphics/layers/StructureLayer.ts b/src/client/graphics/layers/StructureLayer.ts index c9aaa7742..ff7b1be73 100644 --- a/src/client/graphics/layers/StructureLayer.ts +++ b/src/client/graphics/layers/StructureLayer.ts @@ -3,10 +3,10 @@ import { Theme } from "../../../core/configuration/Config"; import { Layer } from "./Layer"; import { EventBus } from "../../../core/EventBus"; -import anchorIcon from "../../../../resources/images/AnchorIcon.svg"; -import missileSiloIcon from "../../../../resources/images/MissileSiloUnit.svg"; -import shieldIcon from "../../../../resources/images/ShieldIcon.svg"; -import cityIcon from "../../../../resources/images/CityIcon.svg"; +import anchorIcon from "../../../../resources/images/AnchorIcon.png"; +import missileSiloIcon from "../../../../resources/images/MissileSiloUnit.png"; +import shieldIcon from "../../../../resources/images/ShieldIcon.png"; +import cityIcon from "../../../../resources/images/CityIcon.png"; import { GameView, UnitView } from "../../../core/game/GameView"; import { Cell, UnitType } from "../../../core/game/Game"; import { GameUpdateType } from "../../../core/game/GameUpdates";