diff --git a/src/app/babylon/game.ts b/src/app/babylon/game.ts index 66d6496..39831f1 100644 --- a/src/app/babylon/game.ts +++ b/src/app/babylon/game.ts @@ -135,7 +135,7 @@ var MyRetryStrategy = /** @class */ (function () { if (baseInterval === void 0) { baseInterval = 500; } return function (url, request, retryIndex) { - if (request.status == 0 || retryIndex >= maxRetries || url.indexOf("file:") !== -1) { + if (retryIndex >= maxRetries || url.indexOf("file:") !== -1) { console.log("不重试加载", request.status, retryIndex, url.indexOf("file:")); return -1; }