mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-02 16:58:12 +00:00
remove BuildValidator
This commit is contained in:
@@ -15,7 +15,6 @@ import { ControlPanel } from "./layers/ControlPanel";
|
||||
import { UIState } from "./UIState";
|
||||
import { BuildMenu } from "./layers/radial/BuildMenu";
|
||||
import { UnitLayer } from "./layers/UnitLayer";
|
||||
import { BuildValidator } from "../../core/game/BuildValidator";
|
||||
import { StructureLayer } from "./layers/StructureLayer";
|
||||
|
||||
|
||||
@@ -35,7 +34,6 @@ export function createRenderer(canvas: HTMLCanvasElement, game: Game, eventBus:
|
||||
}
|
||||
buildMenu.game = game
|
||||
buildMenu.eventBus = eventBus
|
||||
buildMenu.buildValidator = new BuildValidator(game)
|
||||
|
||||
const leaderboard = document.querySelector('leader-board') as Leaderboard;
|
||||
if (!emojiTable || !(leaderboard instanceof Leaderboard)) {
|
||||
|
||||
Reference in New Issue
Block a user