mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-22 05:30:05 +00:00
fixed offline cache enabled condition
This commit is contained in:
parent
7956f653fb
commit
ec7f494f41
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user