diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-22 15:19:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 15:19:00 +0100 |
commit | ccfe9f049f508f70ddbce66327cf0b1c7538cb2e (patch) | |
tree | d209e0d4c40420951980b029750e9464b248d10a /modules/mono/mono_gd | |
parent | 30dabae56ee11c9f2d5ef122ed3d4e1f29c77ca3 (diff) | |
parent | 1eb9c7e6cb4bc66e609969ed134dd00e3d5c608b (diff) |
Merge pull request #15973 from paulloz/csharp-rid-fix
RID cached class was wrong (mono)
Diffstat (limited to 'modules/mono/mono_gd')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.cpp b/modules/mono/mono_gd/gd_mono_utils.cpp index 835a4614c1..a2f0819a72 100644 --- a/modules/mono/mono_gd/gd_mono_utils.cpp +++ b/modules/mono/mono_gd/gd_mono_utils.cpp @@ -184,7 +184,7 @@ void update_godot_api_cache() { CACHE_CLASS_AND_CHECK(Color, GODOT_API_CLASS(Color)); CACHE_CLASS_AND_CHECK(Plane, GODOT_API_CLASS(Plane)); CACHE_CLASS_AND_CHECK(NodePath, GODOT_API_CLASS(NodePath)); - CACHE_CLASS_AND_CHECK(RID, GODOT_API_CLASS(NodePath)); + CACHE_CLASS_AND_CHECK(RID, GODOT_API_CLASS(RID)); CACHE_CLASS_AND_CHECK(GodotObject, GODOT_API_CLASS(Object)); CACHE_CLASS_AND_CHECK(GodotReference, GODOT_API_CLASS(Reference)); CACHE_CLASS_AND_CHECK(Node, GODOT_API_CLASS(Node)); |