aboutsummaryrefslogtreecommitdiff
path: root/modules/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorThomas Herzog2017-08-02 15:24:09 +0200
committerGitHub2017-08-02 15:24:09 +0200
commit0586524b9ce67bdcab5cef88397c44bb7b9e46fb (patch)
treec888896379949e1bee4379fa84ab18d1089d95c1 /modules/nativescript/nativescript.cpp
parent57d961a7e3a3bedfcd3921eeaac7fb43515a6f23 (diff)
parentc143f86968c512649651c823a688b410c6b52c52 (diff)
downloadgodot-0586524b9ce67bdcab5cef88397c44bb7b9e46fb.tar.gz
godot-0586524b9ce67bdcab5cef88397c44bb7b9e46fb.tar.zst
godot-0586524b9ce67bdcab5cef88397c44bb7b9e46fb.zip
Diffstat (limited to 'modules/nativescript/nativescript.cpp')
-rw-r--r--modules/nativescript/nativescript.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp
index e7445e6da..ad746c954 100644
--- a/modules/nativescript/nativescript.cpp
+++ b/modules/nativescript/nativescript.cpp
@@ -213,11 +213,6 @@ ScriptInstance *NativeScript::instance_create(Object *p_this) {
owners_lock->unlock();
#endif
- // try to call _init
- // we don't care if it doesn't exist, so we ignore errors.
- Variant::CallError err;
- call("_init", NULL, 0, err);
-
return nsi;
}