From 5815689fde512debb75976309ac0ccd6d26a0a42 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 --- 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 614080ca0..5c7f46b98 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -3659,7 +3659,7 @@ def runHostWithoutUI(host): # Init engine audioDriver = setEngineSettings(host, None, 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)