Skip to content

Commit

Permalink
Allow preprocessing loaded timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Apr 14, 2024
1 parent 2c8df00 commit 4350b20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/dialogic/Core/DialogicGameHandler.gd
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ func preload_timeline(timeline_resource:Variant) -> Variant:
if timeline_resource == null:
printerr("[Dialogic] There was an error preloading this timeline. Check the filename, and the timeline for errors")
return null
else:
await (timeline_resource as DialogicTimeline).process()
return timeline_resource

await (timeline_resource as DialogicTimeline).process()

return timeline_resource


Expand Down

0 comments on commit 4350b20

Please sign in to comment.