From fadf22bb9717ca28cf4dfd3279eb2d972f7fb1f0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Thu, 4 Feb 2021 08:35:21 +0100 Subject: [PATCH] Fix relative percent system Signed-off-by: Lixfel --- .../fightsystem/winconditions/WinconditionRelativePercent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/winconditions/WinconditionRelativePercent.java b/FightSystem_Main/src/de/steamwar/fightsystem/winconditions/WinconditionRelativePercent.java index a4b806f..0f30223 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/winconditions/WinconditionRelativePercent.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/winconditions/WinconditionRelativePercent.java @@ -114,7 +114,7 @@ public class WinconditionRelativePercent extends Wincondition{ private int currentBlocks(){ // Entern active - if(!Config.EnterStages.isEmpty() && Config.EnterStages.get(0) <= FightSystem.getFightTime()) + if(!Config.EnterStages.isEmpty() && Config.EnterStages.get(0) >= FightSystem.getFightTime()) return currentBlocks; int blocks = 0;