mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-25 06:40:15 +00:00
fixed offline cache enabled condition
This commit is contained in:
parent
17f194810c
commit
7f9c5d90a1
@ -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