~starkingdoms/starkingdoms

12effd077bf8caf4d4f1cb5d15a8562df0e73be7 — core 2 years ago 98d2dd9
actually remove it instead of crashing
1 files changed, 1 insertions(+), 1 deletions(-)

M starkingdoms-client/src/main.ts
M starkingdoms-client/src/main.ts => starkingdoms-client/src/main.ts +1 -1
@@ 12,7 12,7 @@ logger(`Hello, world! StarKingdoms ${APP_VERSION} (${COMMIT_HASH}) at your servi
if (window.localStorage.getItem("stk-packet-mode") === "debug") {
    document.getElementById("packet_log")!.classList.remove("log-hidden");
} else {
    document.removeChild(document.getElementById("packet_log")!);
    document.getElementById("packet_log")!.remove();
}

export interface GlobalData {