Skip to content

Commit 6ef6134

Browse files
Fix [pause] skip bug #775 (#776)
1 parent 4ec260b commit 6ef6134

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

addons/dialogic/Nodes/TextBubble.gd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,12 @@ func handle_command(command:Array):
138138
$sounds.play()
139139
elif(command[1] == "pause"):
140140
$WritingTimer.stop()
141+
var x = text_label.visible_characters
141142
get_parent().get_node("DialogicTimer").start(float(command[2]))
142143
yield(get_parent().get_node("DialogicTimer"), "timeout")
143-
start_text_timer()
144+
# only continue, if no skip was performed
145+
if text_label.visible_characters == x:
146+
start_text_timer()
144147

145148

146149
func skip():

0 commit comments

Comments
 (0)