Skip to content

Commit

Permalink
removed unnecessary if
Browse files Browse the repository at this point in the history
  • Loading branch information
hafometh88 committed Dec 13, 2023
1 parent d2238a6 commit 984b59e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
Expand Down

0 comments on commit 984b59e

Please sign in to comment.