Skip to content

Commit 38e0e85

Browse files
committed
Update W3InstallationData.java
1 parent 51f1233 commit 38e0e85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

de.peeeq.wurstscript/src/main/java/de/peeeq/wurstio/utils/W3InstallationData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public W3InstallationData(WurstLanguageServer languageServer, File wc3Path, bool
6464
loadFromPath(wc3Path);
6565
}
6666

67-
if (!gameExe.isPresent()) {
67+
if (!gameExe.isPresent() || !version.isPresent()) {
6868
WLogger.warning("The provided wc3 path wasn't suitable. Falling back to discovery.");
6969
discoverExePath();
7070
discoverVersion();

0 commit comments

Comments
 (0)