diff --git a/Docs/python_api.md b/Docs/python_api.md index 08dbf28c3..3fe4a34de 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -506,6 +506,7 @@ _ Reload the current world, note that a new world is created with default settings using the same map. All actors present in the world will be destroyed, __but__ traffic manager instances will stay alive. - **Parameters:** - `reset_settings` (_bool_) - Option to reset the episode setting to default values, set to false to keep the current settings. This is useful to keep sync mode when changing map and to keep deterministic scenarios. + - **Return:** _[carla.World](#carla.World)_ - **Raises:** RuntimeError when corresponding. - **replay_file**(**self**, **name**, **start**, **duration**, **follow_id**, **replay_sensors**) Load a new world with default settings using `map_name` map. All actors present in the current world will be destroyed, __but__ traffic manager instances will stay alive. diff --git a/PythonAPI/docs/client.yml b/PythonAPI/docs/client.yml index fb36968fd..3f4e40388 100644 --- a/PythonAPI/docs/client.yml +++ b/PythonAPI/docs/client.yml @@ -115,6 +115,7 @@ doc: > Option to reset the episode setting to default values, set to false to keep the current settings. This is useful to keep sync mode when changing map and to keep deterministic scenarios. + return: carla.World raises: RuntimeError when corresponding. doc: > Reload the current world, note that a new world is created with default