From 39225880969729b10b9714fdd3958225922d9efa Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 28 Oct 2021 22:04:55 +0200 Subject: [PATCH] Fix skip entern Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/countdown/Countdown.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/countdown/Countdown.java b/FightSystem_Core/src/de/steamwar/fightsystem/countdown/Countdown.java index a2c29a7..c4e4fa4 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/countdown/Countdown.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/countdown/Countdown.java @@ -83,9 +83,9 @@ public abstract class Countdown { } for(Countdown countdown : currentCountdowns){ - countdown.time -= smallestTime; - if(countdown.time <= 1) + if(countdown.time - smallestTime <= 1) countdown.prepareFinish(); + countdown.time -= smallestTime; countdown.show(); }