SteamWar/FightSystem
Archiviert
13
1

Hotfix percent stopping

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-05-03 15:42:53 +02:00
Ursprung 1367305e26
Commit 100868b04d

Datei anzeigen

@ -27,7 +27,6 @@ public class WinconditionPercentSystem extends ListenerWincondition {
@EventHandler @EventHandler
public void handleEntityExplode(EntityExplodeEvent event) { public void handleEntityExplode(EntityExplodeEvent event) {
if(FightSystem.getFightState() != FightState.PRE_RUNNING && FightSystem.getFightState() != FightState.RUNNING) return;
Entity entity = event.getEntity(); Entity entity = event.getEntity();
//Team Blue //Team Blue