From 41fc81b9a724365436efa79a644d3374cc3298b6 Mon Sep 17 00:00:00 2001 From: Seth Alter Date: Tue, 8 Feb 2022 15:19:02 -0500 Subject: [PATCH] Fixed a bug with resetting scrape objects --- Python/tdw/add_ons/py_impact.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/tdw/add_ons/py_impact.py b/Python/tdw/add_ons/py_impact.py index 179e64469..19f577c3f 100644 --- a/Python/tdw/add_ons/py_impact.py +++ b/Python/tdw/add_ons/py_impact.py @@ -898,6 +898,7 @@ def reset(self, initial_amp: float = 0.5, static_audio_data_overrides: Dict[int, self.initialized = False self._static_audio_data.clear() self._static_audio_data_overrides.clear() + self._scrape_objects.clear() # Use scrape surfaces. if self._scrape and scrape_objects is not None: for k in scrape_objects: