소스 검색

Merge pull request #54359 from KoBeWi/tween_bugged()

Rémi Verschelde 3 년 전
부모
커밋
d3547be9ae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/animation/tween.cpp

+ 1 - 1
scene/animation/tween.cpp

@@ -291,7 +291,7 @@ bool Tween::step(float p_delta) {
 			float temp_delta = rem_delta;
 			// Turns to true if any Tweener returns true (i.e. is still not finished).
 			step_active = tweener->step(temp_delta) || step_active;
-			step_delta = MIN(temp_delta, rem_delta);
+			step_delta = MIN(temp_delta, step_delta);
 		}
 
 		rem_delta = step_delta;