Core/SNIClient/LttP/Factorio: switch to get_settings (#3208)

This commit is contained in:
Fabian Dill
2024-04-24 06:24:44 +02:00
committed by GitHub
parent cca9778871
commit 2f78860d8c
5 changed files with 7 additions and 7 deletions

View File

@@ -521,7 +521,7 @@ rcon_port = args.rcon_port
rcon_password = args.rcon_password if args.rcon_password else ''.join(
random.choice(string.ascii_letters) for x in range(32))
factorio_server_logger = logging.getLogger("FactorioServer")
options = Utils.get_options()
options = Utils.get_settings()
executable = options["factorio_options"]["executable"]
server_settings = args.server_settings if args.server_settings \
else options["factorio_options"].get("server_settings", None)