Compare commits

...

2 Commits

Author SHA1 Message Date
FinnHornhoover 027044be3d
Merge ec7f494f41 into ec0fc87dcd 2023-12-26 17:52:48 +03:00
FinnHornhoover ec7f494f41 fixed offline cache enabled condition 2023-12-26 17:39:06 +03:00
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ function prepGameInfo(serverUUID) {
// otherwise, if main.unity3d is present, use the offline cache
var mainPath = path.join(offlinePath, "main.unity3d");
var versionURL = remotefs.existsSync(mainPath) ? versionInfo.url : offlineURL;
var versionURL = !remotefs.existsSync(mainPath) ? versionInfo.url : offlineURL;
setGameInfo(serverInfo, versionURL);
}