diff --git a/source/frontend/carla_host.py b/source/frontend/carla_host.py index 99d4d49fb..a2abe5f23 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -3491,7 +3491,7 @@ def runHostWithoutUI(host): projectFile = getInitialProjectFile(True) - if not isinstance(gCarla.nogui, int): + if gCarla.nogui is True: oscPort = None if not projectFile: