From 6cbaf7662f5ee3ca1d02c0ebc85854fceee057af Mon Sep 17 00:00:00 2001 From: qarmin Date: Sat, 20 Jul 2019 08:09:57 +0200 Subject: Changed some code showed in LGTM and Coverage --- scene/2d/cpu_particles_2d.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'scene/2d') diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 591933d972..ab54cef508 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -980,9 +980,6 @@ void CPUParticles2D::_notification(int p_what) { _set_redraw(false); } - if (p_what == NOTIFICATION_PAUSED || p_what == NOTIFICATION_UNPAUSED) { - } - if (p_what == NOTIFICATION_DRAW) { if (!redraw) return; // don't add to render list -- cgit v1.2.3