diff --git a/src/client/Main.ts b/src/client/Main.ts index c7cf0f270..dc7462d34 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -42,8 +42,9 @@ import "./components/NewsButton"; import { NewsButton } from "./components/NewsButton"; import "./components/baseComponents/Button"; import "./components/baseComponents/Modal"; +import "./graphics/layers/NukeWarsPrepTimer"; +import "./graphics/layers/PlayerInfoOverlay"; import { getUserMe, isLoggedIn } from "./jwt"; -import "./styles.css"; declare global { interface Window { diff --git a/src/core/execution/FakeHumanExecution.ts b/src/core/execution/FakeHumanExecution.ts index 3b8a7e94d..72c23a6c9 100644 --- a/src/core/execution/FakeHumanExecution.ts +++ b/src/core/execution/FakeHumanExecution.ts @@ -2,6 +2,7 @@ import { Cell, Execution, Game, + GameMode, Gold, Nation, Player, @@ -262,7 +263,8 @@ export class FakeHumanExecution implements Execution { if ( silos.length === 0 || this.player.gold() < this.cost(UnitType.AtomBomb) || - other.type() === PlayerType.Bot || + (this.mg.config().gameConfig().gameMode !== GameMode.NukeWars && + other.type() === PlayerType.Bot) || this.player.isOnSameTeam(other) ) { return; diff --git a/static/index.html b/static/index.html index 52b055fae..6771389b2 100644 --- a/static/index.html +++ b/static/index.html @@ -133,7 +133,7 @@ gtag("config", "G-WQGQQ8RDN4"); - +