From 1adf8ae9d82f7afd82dc52effa3cd09ac38b547e Mon Sep 17 00:00:00 2001 From: Matthias Faust Date: Fri, 30 Sep 2022 18:36:35 +0200 Subject: [PATCH] 1.0.7 --- resources/card-generator.properties | 4 ++-- resources/overlay-generator.properties | 2 +- src/main/java/de/mephisto/vpin/extensions/ServiceRunner.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/card-generator.properties b/resources/card-generator.properties index 7f31120..3a59d98 100644 --- a/resources/card-generator.properties +++ b/resources/card-generator.properties @@ -1,4 +1,4 @@ -#Fri Sep 30 18:22:22 CEST 2022 +#Fri Sep 30 18:24:14 CEST 2022 card.alphacomposite.black=5 card.alphacomposite.white=0 card.background=Old Bumbers.jpg @@ -27,4 +27,4 @@ card.title.font.style=0 card.title.text=Highscores card.title.y.offset=22 card.useDirectB2S=true -popper.screen=Other2 +popper.screen=GameInfo diff --git a/resources/overlay-generator.properties b/resources/overlay-generator.properties index 26f3bca..f079227 100644 --- a/resources/overlay-generator.properties +++ b/resources/overlay-generator.properties @@ -1,4 +1,4 @@ -#Fri Sep 30 18:21:53 CEST 2022 +#Fri Sep 30 18:23:53 CEST 2022 overlay.alphacomposite.black=0 overlay.alphacomposite.white=0 overlay.background=background4k.jpg diff --git a/src/main/java/de/mephisto/vpin/extensions/ServiceRunner.java b/src/main/java/de/mephisto/vpin/extensions/ServiceRunner.java index 6a33b64..835181d 100644 --- a/src/main/java/de/mephisto/vpin/extensions/ServiceRunner.java +++ b/src/main/java/de/mephisto/vpin/extensions/ServiceRunner.java @@ -54,7 +54,7 @@ public void tableLaunched(TableStatusChangedEvent tableStatusChangedEvent) { public void tableExited(TableStatusChangedEvent tableStatusChangedEvent) { try { String targetScreen = Config.getCardGeneratorConfig().get("popper.screen"); - if (StringUtils.isEmpty(targetScreen)) { + if (!StringUtils.isEmpty(targetScreen)) { GameInfo gameInfo = tableStatusChangedEvent.getGameInfo(); LOG.info("Executing highscore card generation for '" + gameInfo + "'"); CardGenerator.generateCard(service, gameInfo);