mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Started work on persistent session data
This commit is contained in:
@@ -668,7 +668,10 @@ export class ServerManager {
|
||||
checkSessionHash(newSessionHash: string) {
|
||||
if (this.#sessionHash != null) {
|
||||
if (newSessionHash !== this.#sessionHash) location.reload();
|
||||
} else this.#sessionHash = newSessionHash;
|
||||
} else {
|
||||
this.#sessionHash = newSessionHash;
|
||||
getApp().getSessionDataManager().loadSessionData(newSessionHash);
|
||||
}
|
||||
}
|
||||
|
||||
setConnected(newConnected: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user