diff --git a/Scripts/Parts/ResourcePackTemplateCreator.gd b/Scripts/Parts/ResourcePackTemplateCreator.gd index e1e60d2b..d1857c6a 100644 --- a/Scripts/Parts/ResourcePackTemplateCreator.gd +++ b/Scripts/Parts/ResourcePackTemplateCreator.gd @@ -48,12 +48,12 @@ func create_template() -> void: "mp3": if OS.is_debug_build(): print("mp3:" + i) data = resource.get_data() - "wav": - ## guzlad: CAN NOT BE format FORMAT_IMA_ADPCM or FORMAT_QOA as they don't support the save function - ## guzlad: Should be FORMAT_16_BITS like most of our other .wav files - print(error_string(wav_file.save_to_wav(destination))) - var wav_file: AudioStreamWAV = load(i) - if OS.is_debug_build(): print(error_string(wav_file.save_to_wav(destination))) + "wav": + ## guzlad: CAN NOT BE format FORMAT_IMA_ADPCM or FORMAT_QOA as they don't support the save function + ## guzlad: Should be FORMAT_16_BITS like most of our other .wav files + if OS.is_debug_build(): print("wav:" + i) + var wav_file: AudioStreamWAV = load(i) + print(error_string(wav_file.save_to_wav(destination))) ## guzlad: No OGG yet _: data = resource.get_data()