Only enable RCON by default on Windows

This commit is contained in:
timvisee
2021-11-22 17:57:28 +01:00
parent d5c854d16f
commit f95682fcd5
2 changed files with 2 additions and 2 deletions

View File

@@ -418,7 +418,7 @@ pub struct Rcon {
impl Default for Rcon {
fn default() -> Self {
Self {
enabled: true,
enabled: cfg!(windows),
port: 25575,
password: "".into(),
randomize_password: true,