Skip to content

Commit

Permalink
Fixed a bug with resetting scrape objects
Browse files Browse the repository at this point in the history
  • Loading branch information
alters-mit committed Feb 8, 2022
1 parent 4c4ecc2 commit 41fc81b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python/tdw/add_ons/py_impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 41fc81b

Please sign in to comment.