Skip to content

Commit

Permalink
fix: replace early return with continue in ease system
Browse files Browse the repository at this point in the history
  • Loading branch information
jzjones authored and mockersf committed Mar 9, 2024
1 parent c0ce7ea commit 4c4c4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.rs
Expand Up @@ -42,7 +42,7 @@ pub fn ease_system<T: Ease + Component>(
if easing.state == EasingState::Play {
easing.timer.tick(time.delta());
} else {
return;
continue;
}
if easing.paused {
if easing.timer.just_finished() {
Expand Down

0 comments on commit 4c4c4ab

Please sign in to comment.