summaryrefslogtreecommitdiff
path: root/core/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/object.cpp')
-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);
}
}