Dmitry Shin 4 years ago
parent
commit
13c67c0ac1
2 changed files with 14 additions and 14 deletions
  1. 13 13
      lib/submodules/control.js
  2. 1 1
      manifest.json

+ 13 - 13
lib/submodules/control.js

@@ -14,19 +14,6 @@ class v {
             xmastree = global.TeraProxy.GUIMode && crestshadowchange && interfacesound,
             magicenchant = xmastree ? interfacesound.globalShortcut : null;
         let lancerberserkerfighter = null;
-        if (xmastree) {
-            if (crestbackstep.config.shortcutEnable && crestbackstep.config.shortcutEnable.length > 0) {
-                if ('qXxyF' === 'TRiIL') {
-                    crestbackstep.config.debug = !![];
-                    crestbackstep.config.debugAbnormals = !![];
-                } else {
-                    magicenchant.register(crestbackstep.config.shortcutEnable, handrobe);
-                }
-            }
-            if (crestbackstep.config.shortcutUISettings && crestbackstep.config.shortcutUISettings.length > 0) {
-                magicenchant.register(crestbackstep.config.shortcutUISettings, statuecasta);
-            }
-        }
         const priority = () => {
                 const research = 'auto' === crestbackstep.config.language ? require('tera-toolbox-mui').language : crestbackstep.config.language;
                 switch (research) {
@@ -242,6 +229,19 @@ class v {
                     }
                 }
             };
+        if (xmastree) {
+            if (crestbackstep.config.shortcutEnable && crestbackstep.config.shortcutEnable.length > 0) {
+                if ('qXxyF' === 'TRiIL') {
+                    crestbackstep.config.debug = !![];
+                    crestbackstep.config.debugAbnormals = !![];
+                } else {
+                    magicenchant.register(crestbackstep.config.shortcutEnable, handrobe);
+                }
+            }
+            if (crestbackstep.config.shortcutUISettings && crestbackstep.config.shortcutUISettings.length > 0) {
+                magicenchant.register(crestbackstep.config.shortcutUISettings, statuecasta);
+            }
+        }
         let blaster = ['sp', 'ngsp'];
         if (crestbackstep.config.customCommandPrefix.length > 0) {
             if ('KuCgv' !== 'yJoes') {

+ 1 - 1
manifest.json

@@ -61,7 +61,7 @@
         "lib/submodules/abnormals.js": "3a40295ca41d118951a8fc5665b935a83c0e83ef30e205603a29268414dba729",
         "lib/submodules/area.js": "d867a97d780aab834725f965a6d91f12eb5857f4e67187b6be6864315ac95ce1",
         "lib/submodules/cd.js": "98818abe60d898726f2dab2677c5eb5f08efbb48d70b664336143c9abc06270a",
-        "lib/submodules/control.js": "33b4707a82bad5b83218a5668130ccc1c05b8299b6951880abf8ec84a5cfc09a",
+        "lib/submodules/control.js": "588502f25f5d29e5238442eac70cb51283f6c4ba27ccd28495a49da9037412fb",
         "lib/submodules/corrector.js": "2fbb3c3a2811d07e3494aaa2f90a647a87e0c3857b694fc0945948f959eca19c",
         "lib/submodules/defs.js": "ea790192d4a4851852e1bd1923cc3b9af0df9447109700c29099a6104f6bcede",
         "lib/submodules/jitter.js": "9620ad67d3ce8e2d76d33b12e1c380690af5f5011c03eaf49e8327f4ec68f940",