Skip to content

Commit 99b7424

Browse files
committed
typing sounds
1 parent 9076255 commit 99b7424

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

addons/dialogic/Nodes/TextBubble.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func load_theme(theme: ConfigFile):
182182
var file_system = Directory.new()
183183
if file_system.dir_exists(sound_effect_path):
184184
$TypingSFX.load_samples_from_folder(sound_effect_path)
185-
elif file_system.file_exists(sound_effect_path):
185+
elif file_system.file_exists(sound_effect_path) or file_system.file_exists(sound_effect_path + '.import'):
186186
$TypingSFX.samples = [load(sound_effect_path)]
187187

188188
$TypingSFX.set_volume_db(theme.get_value('typing_sfx', 'volume', -10))

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Removed the `focus_mode` warning
1010
- Added a new page to the docs about the [Text Events](https://github.com/coppolaemilio/dialogic/blob/main/docs/events/TextEvent.md)
1111
- Fixed a bug when trying to skip fade-in dialog animations [[idontkillcoyotes](https://github.com/idontkillcoyotes)]
12+
- Fixed an issue with typing sounds in exported projects
1213

1314

1415
## v1.2 - Organize it!

0 commit comments

Comments
 (0)