Parcourir la source

commit in 2.22

小太阳 il y a 6 ans
Parent
commit
3de9cb4b91
2 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 3 3
      js/main_2018.js
  2. 2 2
      js/加密/main_2018.js

+ 3 - 3
js/main_2018.js

@@ -2650,12 +2650,12 @@ window.Modernizr = function(n, e, t) {
                 },
                 changeIfTileGenerating: function(e) {
                     return s.tilegen && (e += e.indexOf("?") === -1 ? "?" : "&",
-                    e += "imgopt=1"),
+                    e += ""),
                     e
                 },
                 changeIfImageOptimzing: function(e) {
                     return s.imgopt && e.indexOf("imgopt=1") === -1 && (e += e.indexOf("?") === -1 ? "?" : "&",
-                    e += "imgopt=1"),
+                    e += ""),
                     e
                 },
                 tilegen: !1,
@@ -21717,7 +21717,7 @@ window.Modernizr = function(n, e, t) {
                   , c = e.constantMoveSpeed
                   , h = null
                   , p = null;
-                  window.specialScene && specialScene.special().specifySpot(i);
+                  window.specialScene && specialScene.special().specifySpot && specialScene.special().specifySpot(i);
                 if (this.isWarping() && !l && (this.path.activeTransType === x.BLACK || this.path.activeTransType === x.STD))
                     return F.warn("Player.flyToPano() -> Cannot fly when warping"),
                     t && t(),

Fichier diff supprimé car celui-ci est trop grand
+ 2 - 2
js/加密/main_2018.js