wrong extensions shown when saving resources fixed
This commit is contained in:
parent
52e53d4513
commit
729ab84a49
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ void EditorNode::save_resource_as(const Ref<Resource>& p_resource) {
|
|||
List<String> preferred;
|
||||
for(int i=0;i<extensions.size();i++) {
|
||||
|
||||
if (p_resource->is_type("Script") && extensions[i]=="tres" || extensions[i]=="res" || extensions[i]=="xml") {
|
||||
if (p_resource->is_type("Script") && (extensions[i]=="tres" || extensions[i]=="res" || extensions[i]=="xml")) {
|
||||
//this serves no purpose and confused people
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue