summaryrefslogtreecommitdiffstats
path: root/modules/nativescript/nativescript.h
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-07-25 18:18:36 +0200
committerKarroffel <therzog@mail.de>2017-07-25 18:18:36 +0200
commitcdf1212bee6ce3f09d025596926df2005e7f3304 (patch)
tree676e8611e6ea3c9dc55308a9429cf0b90b04b2a2 /modules/nativescript/nativescript.h
parent3f1e75e89c0c3e008569208b8d397c59c767506a (diff)
downloadredot-engine-cdf1212bee6ce3f09d025596926df2005e7f3304.tar.gz
[NativeScript] fix double initialization in editor
Diffstat (limited to 'modules/nativescript/nativescript.h')
-rw-r--r--modules/nativescript/nativescript.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/nativescript/nativescript.h b/modules/nativescript/nativescript.h
index 5702ba2e8d..bc7a6e3ed6 100644
--- a/modules/nativescript/nativescript.h
+++ b/modules/nativescript/nativescript.h
@@ -259,6 +259,8 @@ inline NativeScriptDesc *NativeScript::get_script_desc() const {
class NativeReloadNode : public Node {
GDCLASS(NativeReloadNode, Node)
+ bool unloaded = false;
+
public:
static void _bind_methods();
void _notification(int p_what);