From 6f41a3aacd7a289f6bafeafc2e1b6cff6a520d68 Mon Sep 17 00:00:00 2001 From: Emi <2206700+coppolaemilio@users.noreply.github.com> Date: Tue, 24 Dec 2024 16:26:02 +0100 Subject: [PATCH] Check for UIDs in strings as well --- addons/dialogic/Core/DialogicGameHandler.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/dialogic/Core/DialogicGameHandler.gd b/addons/dialogic/Core/DialogicGameHandler.gd index c7947038d..3d0fc1311 100644 --- a/addons/dialogic/Core/DialogicGameHandler.gd +++ b/addons/dialogic/Core/DialogicGameHandler.gd @@ -198,7 +198,7 @@ func start_timeline(timeline:Variant, label_or_idx:Variant = "") -> void: # load the resource if only the path is given if typeof(timeline) == TYPE_STRING: #check the lookup table if it's not a full file name - if (timeline as String).contains("res://"): + if (timeline as String).contains("res://") or (timeline as String).contains("uid://"): timeline = load((timeline as String)) else: timeline = DialogicResourceUtil.get_timeline_resource((timeline as String))