Skip to content

Commit c45ca4a

Browse files
nathanhoadKoBeWi
andcommitted
Fix issue with playing a custom scene from a UID
Co-Authored-By: Tomasz Chabora <[email protected]>
1 parent 297650a commit c45ca4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/gui/editor_run_bar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void EditorRunBar::_run_scene(const String &p_scene_path, const Vector<String> &
259259
String run_filename;
260260
switch (current_mode) {
261261
case RUN_CUSTOM: {
262-
run_filename = p_scene_path;
262+
run_filename = ResourceUID::ensure_path(p_scene_path);
263263
run_custom_filename = run_filename;
264264
} break;
265265

0 commit comments

Comments
 (0)