From 984b59e2b6acbe3bea26997a80dd61b0761c27a8 Mon Sep 17 00:00:00 2001 From: hafometh88 Date: Wed, 13 Dec 2023 23:27:06 +0100 Subject: [PATCH] removed unnecessary if --- launch.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/launch.py b/launch.py index 48a5316..b153240 100644 --- a/launch.py +++ b/launch.py @@ -70,8 +70,6 @@ def bool_str(text): config["a2s"] = None if env_defined("RCON_ADDRESS") and env_defined("RCON_PORT"): - if not env_defined("RCON_PASSWORD"): - config["rcon"]["password"] = "" config["rcon"] = { "address": os.environ["RCON_ADDRESS"], "port": int(os.environ["RCON_PORT"]),