diff --git a/art/AssetInfo.tsx b/art/AssetInfo.tsx new file mode 100644 index 00000000..0f0545cd --- /dev/null +++ b/art/AssetInfo.tsx @@ -0,0 +1,2 @@ +export const AssetDomain = 'https://art.athenacrisis.com'; +export const AssetVersion = 'v10'; diff --git a/art/Sprites.tsx b/art/Sprites.tsx index 1437671b..a174ed7e 100644 --- a/art/Sprites.tsx +++ b/art/Sprites.tsx @@ -3,6 +3,7 @@ import { Biome } from '@deities/athena/map/Biome.tsx'; import { injectGlobal } from '@emotion/css'; import paletteSwap, { HEX } from '@nkzw/palette-swap'; import Variants from 'athena-crisis:asset-variants'; +import { AssetDomain, AssetVersion } from './AssetInfo.tsx'; import BiomeVariants from './BiomeVariants.tsx'; import VariantConfiguration, { SpriteVariantConfiguration, @@ -32,9 +33,6 @@ type CanvasToURLFn = (canvas: Canvas, name: string) => Promise; const SHOULD_SWAP = process.env.NODE_ENV !== 'production' || process.env.IS_DEMO; -export const AssetDomain = 'https://art.athenacrisis.com'; -export const AssetVersion = 'v10'; - // Keep remote images in memory forever. const imageCache = [];