diff --git a/util/limbo_utility.cpp b/util/limbo_utility.cpp index b45be18d..3e29f4e5 100644 --- a/util/limbo_utility.cpp +++ b/util/limbo_utility.cpp @@ -93,7 +93,7 @@ Ref LimboUtility::get_task_icon(String p_class_or_script_path) const } EditorData &ed = EditorNode::get_editor_data(); - Ref script_icon = ed.get_script_icon(s); + Ref script_icon = ed.get_script_icon(s->get_path()); if (script_icon.is_valid()) { return script_icon; }