From 4f5b66b0a0822b1e3b5b31acfae4b361610623df Mon Sep 17 00:00:00 2001 From: Axel Date: Tue, 22 Sep 2020 10:17:19 +0200 Subject: [PATCH] Changed call type for traffic light syncronization. --- LibCarla/source/carla/client/detail/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibCarla/source/carla/client/detail/Client.cpp b/LibCarla/source/carla/client/detail/Client.cpp index a415ef048..b528b2c61 100644 --- a/LibCarla/source/carla/client/detail/Client.cpp +++ b/LibCarla/source/carla/client/detail/Client.cpp @@ -327,7 +327,7 @@ namespace detail { } void Client::ResetAllTrafficLights() { - _pimpl->AsyncCall("reset_all_traffic_lights"); + _pimpl->CallAndWait("reset_all_traffic_lights"); } void Client::FreezeAllTrafficLights(bool frozen) {