From 56299fb58bd76e10815dfe817751aae3850758ab Mon Sep 17 00:00:00 2001 From: Ali-RS Date: Sun, 13 Oct 2019 21:19:28 +0330 Subject: [PATCH] Minor refactor --- src/main/java/com/simsilica/lemur/anim/TweenAnimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simsilica/lemur/anim/TweenAnimation.java b/src/main/java/com/simsilica/lemur/anim/TweenAnimation.java index 892d61dc..b01cd607 100644 --- a/src/main/java/com/simsilica/lemur/anim/TweenAnimation.java +++ b/src/main/java/com/simsilica/lemur/anim/TweenAnimation.java @@ -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); } /**