Skip to content

Commit 9902e0a

Browse files
Fix bug where skipping during [pause] doesn't work correctly (#1503)
1 parent a1aae81 commit 9902e0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

addons/dialogic/Events/Text/node_dialog_text.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ func continue_reveal() -> void:
4141
if visible_characters < get_total_character_count():
4242
revealing = false
4343
await Dialogic.Text.execute_effects(visible_characters, self, false)
44+
if visible_characters == -1:
45+
return
4446
revealing = true
4547
visible_characters += 1
4648
emit_signal("continued_revealing_text", get_parsed_text()[visible_characters-2])

0 commit comments

Comments
 (0)