Browse Source

Revert this, karroffel makes sense that this should be implemented per language.

Juan Linietsky 7 years ago
parent
commit
5410662720
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/object.cpp

+ 1 - 1
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);
 	}
 }