Skip to content

Commit

Permalink
require RCON password to enable
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Apr 22, 2024
1 parent b5a6f3d commit f40c732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def bool_str(text):
else:
config["a2s"] = None

if env_defined("RCON_ADDRESS") and env_defined("RCON_PORT"):
if env_defined("RCON_ADDRESS") and env_defined("RCON_PORT") and env_defined("RCON_PASSWORD"):
config["rcon"] = {
"address": os.environ["RCON_ADDRESS"],
"port": int(os.environ["RCON_PORT"]),
Expand Down

0 comments on commit f40c732

Please sign in to comment.