From f81036f9a919442692ccde37f5a19531d5da3052 Mon Sep 17 00:00:00 2001 From: Daniel-I-Am Date: Tue, 26 Sep 2023 21:08:59 +0200 Subject: [PATCH] Allow configuration of Carla client name when headless Signed-off-by: falkTX --- source/frontend/carla_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontend/carla_host.py b/source/frontend/carla_host.py index ce0177e32..4239026d3 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -3554,7 +3554,7 @@ def runHostWithoutUI(host): # Init engine audioDriver = setEngineSettings(host, oscPort) - if not host.engine_init(audioDriver, "Carla"): + if not host.engine_init(audioDriver, CARLA_CLIENT_NAME or "Carla"): print("Engine failed to initialize, possible reasons:\n%s" % host.get_last_error()) sys.exit(1)