Use query port instead of rcon to check alive status
This commit is contained in:
parent
62a302c54b
commit
e20ade2e95
3 changed files with 12 additions and 2 deletions
|
@ -364,4 +364,11 @@ class Settings {
|
|||
|
||||
Directory.current = Directory(game_path);
|
||||
}
|
||||
|
||||
static void Clear() {
|
||||
Instance.inst = SettingsEntry();
|
||||
Instance.subsys = StateMachine();
|
||||
Instance.serverLoginCreds = Credentials(username: "admin", password: "");
|
||||
Instance.server = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue