diff --git a/pdxu-app/src/main/java/com/crschnick/pdxu/app/installation/GameDlc.java b/pdxu-app/src/main/java/com/crschnick/pdxu/app/installation/GameDlc.java index 512de4a4..309b9fa4 100644 --- a/pdxu-app/src/main/java/com/crschnick/pdxu/app/installation/GameDlc.java +++ b/pdxu-app/src/main/java/com/crschnick/pdxu/app/installation/GameDlc.java @@ -29,7 +29,7 @@ public static Optional fromDirectory(Path p) throws Exception { String dlcName = p.getFileName().toString(); String dlcId = dlcName.split("_")[0]; - Path filePath = p.resolve(dlcId + ".dlc"); + Path filePath = Files.exists(p.resolve(dlcId + ".dlc")) ? p.resolve(dlcId + ".dlc") : p.resolve(dlcName + ".dlc"); Path dataPath = p.resolve(dlcId + ".zip"); if (!Files.exists(filePath)) {