Added checkbox for autoconnection when local

This commit is contained in:
Davide Passoni
2025-03-07 14:45:01 +01:00
parent 16e77087f5
commit 42cfb36c04
6 changed files with 38 additions and 2 deletions

View File

@@ -149,6 +149,7 @@ class DCSInstance {
gameMasterPasswordEdited = false;
blueCommanderPasswordEdited = false;
redCommanderPasswordEdited = false;
autoconnectWhenLocal = false;
constructor(folder) {
this.folder = folder;
@@ -184,6 +185,7 @@ class DCSInstance {
this.backendPort = config["backend"]["port"];
this.backendAddress = config["backend"]["address"];
this.gameMasterPasswordHash = config["authentication"]["gameMasterPassword"];
this.autoconnectWhenLocal = config["frontend"]["autoconnectWhenLocal"];
this.gameMasterPasswordEdited = false;
this.blueCommanderPasswordEdited = false;