Skip to content

Commit 9076255

Browse files
committed
Fixed a bug when trying to skip fade-in dialog animations
1 parent 251fbc8 commit 9076255

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

addons/dialogic/Nodes/dialog_node.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ func load_dialog():
158158
dialog_script = parse_branches(dialog_script)
159159
return dialog_script
160160

161+
161162
func parse_characters(dialog_script):
162163
var names = DialogicUtil.get_character_list()
163164
# I should use regex here, but this is way easier :)
@@ -357,7 +358,7 @@ func _input(event: InputEvent) -> void:
357358
# Skip to end if key is pressed during the text animation
358359
$TextBubble.skip()
359360
else:
360-
if waiting_for_answer == false and waiting_for_input == false:
361+
if waiting_for_answer == false and waiting_for_input == false and while_show_up_animation == false:
361362
_load_next_event()
362363
if settings.has_section_key('dialog', 'propagate_input'):
363364
var propagate_input: bool = settings.get_value('dialog', 'propagate_input')

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Improved the Timeline Editor performance when loading timelines
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)
11+
- Fixed a bug when trying to skip fade-in dialog animations [[idontkillcoyotes](https://github.com/idontkillcoyotes)]
1112

1213

1314
## v1.2 - Organize it!

0 commit comments

Comments
 (0)