Prechádzať zdrojové kódy

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

Juan Linietsky 7 rokov pred
rodič
commit
5410662720
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
 	}
 }