소스 검색

More relax idb check

David Catuhe 7 년 전
부모
커밋
70fe6c9c35
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Tools/babylon.database.ts

+ 2 - 2
src/Tools/babylon.database.ts

@@ -398,8 +398,8 @@ module BABYLON {
 
                     transaction.oncomplete = event => {
                         if (version) {
-                            // If the version in the JSON file is > than the version in DB
-                            if (this.manifestVersionFound > version.data) {
+                            // If the version in the JSON file is different from the version in DB
+                            if (this.manifestVersionFound !== version.data) {
                                 this.mustUpdateRessources = true;
                                 updateInDBCallback();
                             }