Skip to content

Commit

Permalink
Fix broken conversion: Ref<Script> to const String
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubonnek committed Feb 5, 2025
1 parent c8be237 commit 9767cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/limbo_utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Ref<Texture2D> LimboUtility::get_task_icon(String p_class_or_script_path) const
}

EditorData &ed = EditorNode::get_editor_data();
Ref<Texture2D> script_icon = ed.get_script_icon(s);
Ref<Texture2D> script_icon = ed.get_script_icon(s->get_path());
if (script_icon.is_valid()) {
return script_icon;
}
Expand Down

0 comments on commit 9767cd1

Please sign in to comment.