Explorar el Código

Fixed Tween::start() with pending updates

Start was canceled instead of deferred in case of an update in progress.
Fixes #35441
PouleyKetchoupp hace 5 años
padre
commit
6c04c824bd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      scene/animation/tween.cpp

+ 1 - 0
scene/animation/tween.cpp

@@ -827,6 +827,7 @@ bool Tween::start() {
 	// Are there any pending updates?
 	if (pending_update != 0) {
 		// Start the tweens after deferring
+		call_deferred("start");
 		return true;
 	}