Skip to content

Commit 69c2a0c

Browse files
Make ending timeline not emit timeline_started signal (#2542)
1 parent 3308160 commit 69c2a0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

addons/dialogic/Core/DialogicGameHandler.gd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,10 @@ func start_timeline(timeline:Variant, label_or_idx:Variant = "") -> void:
228228
elif typeof(label_or_idx) == TYPE_INT:
229229
if label_or_idx >-1:
230230
current_event_idx = label_or_idx -1
231-
232-
timeline_started.emit()
231+
232+
if not current_timeline == dialog_ending_timeline:
233+
timeline_started.emit()
234+
233235
handle_next_event()
234236

235237

0 commit comments

Comments
 (0)