Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-RS authored Oct 13, 2019
1 parent ba9c3b2 commit 56299fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/simsilica/lemur/anim/TweenAnimation.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public boolean isLooping() {
* Returns true if the animation is currently running.
*/
public boolean isRunning() {
return running && t >= 0;
return running && (loop || t >= 0);
}

/**
Expand Down

0 comments on commit 56299fb

Please sign in to comment.