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

This commit is contained in:
Juan Linietsky 2017-11-13 14:01:32 -03:00
parent 2e3a1caa06
commit 5410662720

View File

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