[FEATURE] RCON Connection Indicator

This commit is contained in:
Dunemask 2023-12-31 14:04:44 -07:00
parent 5f2a94dc14
commit 76b8bf91c9
4 changed files with 15 additions and 3 deletions

View file

@ -61,7 +61,7 @@ export async function webConsoleRcon(socket) {
try {
await rcon.connect();
} catch (error) {
socket.emit("push", "Could not connect RCON Input to server!");
socket.emit("rcon-error", "Could not connect RCON Input to server!");
WARN("RCON", `Could not connect to '${rconHost}'`);
}
socket.rconClient = rcon;