Skip to content

Commit

Permalink
Fix filename disambiguation on scripts in certain occasions
Browse files Browse the repository at this point in the history
  • Loading branch information
YeldhamDev committed Dec 22, 2020
1 parent 30d469a commit ed488b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/script_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ void ScriptEditor::_update_script_names() {
Vector<String> disambiguated_script_names;
Vector<String> full_script_paths;
for (int j = 0; j < sedata.size(); j++) {
disambiguated_script_names.append(sedata[j].name.replace("(*)", ""));
disambiguated_script_names.append(sedata[j].name.replace("(*)", "").get_file());
full_script_paths.append(sedata[j].tooltip);
}

Expand Down

0 comments on commit ed488b7

Please sign in to comment.