mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-27 00:42:43 +00:00
opl version
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import version from "../../resources/version.txt";
|
||||
import { UserMeResponse } from "../core/ApiSchemas";
|
||||
import { EventBus } from "../core/EventBus";
|
||||
import { GameRecord, GameStartInfo, ID } from "../core/Schemas";
|
||||
@@ -106,14 +105,6 @@ class Client {
|
||||
constructor() {}
|
||||
|
||||
initialize(): void {
|
||||
const gameVersion = document.getElementById(
|
||||
"game-version",
|
||||
) as HTMLDivElement;
|
||||
if (!gameVersion) {
|
||||
console.warn("Game version element not found");
|
||||
}
|
||||
gameVersion.innerText = version;
|
||||
|
||||
const newsModal = document.querySelector("news-modal") as NewsModal;
|
||||
if (!newsModal || !(newsModal instanceof NewsModal)) {
|
||||
console.warn("News modal element not found");
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
</g>
|
||||
</svg>
|
||||
<div id="game-version" class="l-header__highlightText text-center">
|
||||
Loading version...
|
||||
OPL v0.26.12
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user