Skip to content

Commit

Permalink
removing Debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
otigon committed Sep 22, 2021
1 parent 6cef1e9 commit c1d6aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion module.json
Expand Up @@ -2,7 +2,7 @@
"name": "autoanimations",
"title": "Automated Animations",
"description": "This will automatically run most JB2A Animations such as Melee/Ranged Attacks, Spell Attacks, and Instant Spells",
"version": "0.6.24",
"version": "0.6.25",
"author": "Otigon",
"url": "https://github.com/otigon/automated-jb2a-animations",
"minimumCoreVersion": "0.8.1",
Expand Down
3 changes: 1 addition & 2 deletions src/aa-classes/autorecFunctions.js
Expand Up @@ -127,7 +127,7 @@ export class AutorecFunctions {
static _findObjectFromArray(settings, name) {
const data = this._combineMenus(settings); //combines all Autorec Menus into a single array
const length = data.length;
for (var i = 1; i < length; i++) {
for (var i = 0; i < length; i++) {
var newObject = Object.values(data)
.sort((a, b) => b.name.replace(/\s+/g, '').length - a.name.replace(/\s+/g, '').length)
.find(section => {
Expand Down Expand Up @@ -156,7 +156,6 @@ export class AutorecFunctions {
}
}
mergedArray.sort((a, b) => b.name.replace(/\s+/g, '').length - a.name.replace(/\s+/g, '').length)
console.log(mergedArray)
return mergedArray;
}

Expand Down

0 comments on commit c1d6aeb

Please sign in to comment.