[HTML5] Fix JS "tools" editor plugin.
Needed update after file/dir access refactoring.
This commit is contained in:
parent
e8110474b6
commit
39d9a5540c
|
@ -122,7 +122,7 @@ void JavaScriptToolsEditorPlugin::_zip_file(String p_path, String p_base_path, z
|
|||
|
||||
void JavaScriptToolsEditorPlugin::_zip_recursive(String p_path, String p_base_path, zipFile p_zip) {
|
||||
Ref<DirAccess> dir = DirAccess::open(p_path);
|
||||
if (!dir) {
|
||||
if (dir.is_null()) {
|
||||
WARN_PRINT("Unable to open directory for zipping: " + p_path);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue