summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-13 14:01:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-13 14:01:32 -0300
commit54106627203ec11259424a0b5c5ee655ac219fa8 (patch)
tree096faa65fd48d9c50e7d4ce363c1705113b416a7
parent2e3a1caa069c3eddfbf0b890bff7f7d85925b476 (diff)
Revert this, karroffel makes sense that this should be implemented per language.
-rw-r--r--core/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp
index 4284266f20..823cbe14d4 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -848,7 +848,7 @@ void Object::notification(int p_notification, bool p_reversed) {
_notificationv(p_notification, p_reversed);
- if (script_instance && p_notification != NOTIFICATION_PREDELETE) {
+ if (script_instance) {
script_instance->notification(p_notification);
}
}