diff options
| author | Juan Linietsky | 2017-01-14 09:16:41 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-14 09:17:15 -0300 |
| commit | da4170540cbe3dcec4855ddbb59edf1abd7cf9b4 (patch) | |
| tree | 873e57d1fdbf5cfe414c9610068e78ce0d4258db /core/bind/core_bind.cpp | |
| parent | 7b9f2d9929d0e8516d42379962533df823c7c550 (diff) | |
| download | godot-da4170540cbe3dcec4855ddbb59edf1abd7cf9b4.tar.gz godot-da4170540cbe3dcec4855ddbb59edf1abd7cf9b4.tar.zst godot-da4170540cbe3dcec4855ddbb59edf1abd7cf9b4.zip | |
Diffstat (limited to 'core/bind/core_bind.cpp')
| -rw-r--r-- | core/bind/core_bind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index fe2be260d..ab3e340a8 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1830,9 +1830,9 @@ Error _Directory::open(const String& p_path) { return OK; } -bool _Directory::list_dir_begin() { +Error _Directory::list_dir_begin() { - ERR_FAIL_COND_V(!d,false); + ERR_FAIL_COND_V(!d,ERR_UNCONFIGURED); return d->list_dir_begin(); } |
