From c555cabbc0a304d9d0981c0ecd6060bd3c562a4a Mon Sep 17 00:00:00 2001 From: Floral <49110090+floral-qua-floral@users.noreply.github.com> Date: Thu, 19 Dec 2024 23:10:38 -0500 Subject: [PATCH] SoundHelper now clears out the sounds folder of both modules before running --- soundhelper/Sound Helper/SoundHelper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soundhelper/Sound Helper/SoundHelper.py b/soundhelper/Sound Helper/SoundHelper.py index 23e26aa..55482ca 100644 --- a/soundhelper/Sound Helper/SoundHelper.py +++ b/soundhelper/Sound Helper/SoundHelper.py @@ -6,6 +6,9 @@ from Input import rename_sounds, content_subtitles, mod_subtitles def handle_audio_files(include_voicelines, copy_to, subtitle_source): + # Clean out the sounds that are currently lying around + shutil.rmtree(copy_to) + # "../../mod/src/main/java/com/fqf/mario_qua_mario" voice_subtitles = []