Update ResourcePackTemplateCreator.gd

This commit is contained in:
JHDev2006
2025-10-23 22:33:57 +01:00
parent 4a3da23429
commit aa6fb17072

View File

@@ -48,12 +48,12 @@ func create_template() -> void:
"mp3": "mp3":
if OS.is_debug_build(): print("mp3:" + i) if OS.is_debug_build(): print("mp3:" + i)
data = resource.get_data() data = resource.get_data()
"wav": "wav":
## guzlad: CAN NOT BE format FORMAT_IMA_ADPCM or FORMAT_QOA as they don't support the save function ## 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 ## guzlad: Should be FORMAT_16_BITS like most of our other .wav files
print(error_string(wav_file.save_to_wav(destination))) if OS.is_debug_build(): print("wav:" + i)
var wav_file: AudioStreamWAV = load(i) var wav_file: AudioStreamWAV = load(i)
if OS.is_debug_build(): print(error_string(wav_file.save_to_wav(destination))) print(error_string(wav_file.save_to_wav(destination)))
## guzlad: No OGG yet ## guzlad: No OGG yet
_: _:
data = resource.get_data() data = resource.get_data()