allow sound_file_name to be taken in without extensions

This commit is contained in:
TonyCrane 2021-07-28 23:13:15 +08:00
parent 76966064ce
commit 4d65c97965

View file

@ -6,5 +6,5 @@ def get_full_sound_file_path(sound_file_name):
return find_file(
sound_file_name,
directories=[get_sound_dir()],
extensions=[".wav", ".mp3"]
extensions=[".wav", ".mp3", ""]
)