opl version

This commit is contained in:
evanpelle
2025-11-21 14:44:11 -08:00
parent e946f71ab3
commit 4d46852e2b
2 changed files with 1 additions and 10 deletions
-9
View File
@@ -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");
+1 -1
View File
@@ -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>