aboutsummaryrefslogtreecommitdiff
path: root/modules/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorKarroffel2017-08-02 14:21:12 +0200
committerKarroffel2017-08-02 14:21:12 +0200
commitc143f86968c512649651c823a688b410c6b52c52 (patch)
tree264e5ae525eb40268aa90a349d5d28fb88c40062 /modules/nativescript/nativescript.cpp
parent880048377de06c7e34cbfadd68bad2eb3ca17b3d (diff)
downloadgodot-c143f86968c512649651c823a688b410c6b52c52.tar.gz
godot-c143f86968c512649651c823a688b410c6b52c52.tar.zst
godot-c143f86968c512649651c823a688b410c6b52c52.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;
}