diff options
| author | Hein-Pieter van Braam | 2018-04-29 20:44:48 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-29 20:44:48 +0200 |
| commit | 3ee4d6af2e7a784c5dfc7d65daf0cef5e72e9d78 (patch) | |
| tree | 6ab52361ac440322dbade687d174d3e64a02c63c /core/class_db.cpp | |
| parent | 00c55bb2ebd825e679253ec38278630935b63313 (diff) | |
| download | godot-3ee4d6af2e7a784c5dfc7d65daf0cef5e72e9d78.tar.gz godot-3ee4d6af2e7a784c5dfc7d65daf0cef5e72e9d78.tar.zst godot-3ee4d6af2e7a784c5dfc7d65daf0cef5e72e9d78.zip | |
Diffstat (limited to 'core/class_db.cpp')
| -rw-r--r-- | core/class_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 3c9dae1ac..afca543f9 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -364,7 +364,7 @@ uint64_t ClassDB::get_api_hash(APIType p_api) { ClassInfo *t = classes.getptr(E->get()); ERR_FAIL_COND_V(!t, 0); - if (t->api != p_api) + if (t->api != p_api || !t->exposed) continue; hash = hash_djb2_one_64(t->name.hash(), hash); hash = hash_djb2_one_64(t->inherits.hash(), hash); |
