Minor fix
This commit is contained in:
parent
f70b93764f
commit
18de41ceb4
@ -65,7 +65,7 @@ class RconManager {
|
||||
|
||||
async disconnect_rcon(server_id) {
|
||||
console.log('starting disconnect', server_id)
|
||||
if (!this.rcons[server_id].connected) {
|
||||
if ( !(server_id in this.rcons) || (!this.rcons[server_id].connected)) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ A simple web panel to control CS2 servers via RCON
|
||||
- Add teams and players
|
||||
- Add password option while setting up the server
|
||||
- Improve UX/UI
|
||||
- Improve/clean code
|
||||
- Improve/clean code (This is my first time working with node :P)
|
||||
- Create executable
|
||||
|
||||
## Limitations
|
||||
|
Loading…
Reference in New Issue
Block a user