1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

[NativeScript] fix double initialization in editor

This commit is contained in:
Karroffel
2017-07-25 18:18:36 +02:00
parent 3f1e75e89c
commit cdf1212bee
2 changed files with 10 additions and 2 deletions

View File

@@ -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);