remove spawn video ad

This commit is contained in:
evanpelle
2026-03-17 11:40:42 -07:00
parent 11e183366f
commit 79c3deabd8
4 changed files with 0 additions and 289 deletions
-8
View File
@@ -36,7 +36,6 @@ import { ReplayPanel } from "./layers/ReplayPanel";
import { SAMRadiusLayer } from "./layers/SAMRadiusLayer";
import { SettingsModal } from "./layers/SettingsModal";
import { SpawnTimer } from "./layers/SpawnTimer";
import { SpawnVideoAd } from "./layers/SpawnVideoReward";
import { StructureIconsLayer } from "./layers/StructureIconsLayer";
import { StructureLayer } from "./layers/StructureLayer";
import { TeamStats } from "./layers/TeamStats";
@@ -268,12 +267,6 @@ export function createRenderer(
}
inGamePromo.game = game;
const spawnVideoAd = document.querySelector("spawn-video-ad") as SpawnVideoAd;
if (!(spawnVideoAd instanceof SpawnVideoAd)) {
console.error("spawn video ad not found");
}
spawnVideoAd.game = game;
// When updating these layers please be mindful of the order.
// Try to group layers by the return value of shouldTransform.
// Not grouping the layers may cause excessive calls to context.save() and context.restore().
@@ -320,7 +313,6 @@ export function createRenderer(
headsUpMessage,
multiTabModal,
inGamePromo,
spawnVideoAd,
alertFrame,
performanceOverlay,
];