diff options
| author | Thomas Herzog | 2017-04-19 16:38:33 +0200 |
|---|---|---|
| committer | GitHub | 2017-04-19 16:38:33 +0200 |
| commit | d74c2bbec9fe2d46d8e92079bb704c87c1d470ef (patch) | |
| tree | af9e575a7ada253502ee8df36df436975c782a74 /modules/gdnative/gdnative.cpp | |
| parent | 8ee991a2a7e9bbcf3c9d1da24cb1ae8754cf4e8f (diff) | |
| parent | d4f4f14c68d6fea3fc582858ec82af2f8ae36870 (diff) | |
| download | godot-d74c2bbec9fe2d46d8e92079bb704c87c1d470ef.tar.gz godot-d74c2bbec9fe2d46d8e92079bb704c87c1d470ef.tar.zst godot-d74c2bbec9fe2d46d8e92079bb704c87c1d470ef.zip | |
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
| -rw-r--r-- | modules/gdnative/gdnative.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index a4c9085f4..09859d95b 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -424,7 +424,6 @@ Variant GDNativeScript::_new(const Variant **p_args, int p_argcount, Variant::Ca // @Todo support varargs for constructors. GDNativeInstance *instance = (GDNativeInstance *)instance_create(owner); - owner->set_script(Ref<GDNativeScript>(this).get_ref_ptr()); owner->set_script_instance(instance); if (!instance) { if (ref.is_null()) { |
