Skip to content

Commit 9146ea4

Browse files
committed
Fix for timeline error
1 parent 27b1fac commit 9146ea4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

addons/dialogic/Resources/timeline.gd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ func get_index_from_text_line(text:String, line) -> int:
8181

8282
## Method that loads all the event resources from the strings, if it wasn't done before
8383
func process() -> void:
84+
if len(events) == 0:
85+
return
86+
8487
if typeof(events[0]) == TYPE_STRING:
8588
events_processed = false
8689

0 commit comments

Comments
 (0)