Fix typo in plugin sorting data update.

For #464.
This commit is contained in:
Oliver Hamlet
2015-07-08 11:42:59 +01:00
parent f7b382ac08
commit 643b4b4c1c
+2 -2
View File
@@ -163,8 +163,8 @@ function onSortPlugins(evt) {
}
}
if (!found) {
loot.game.plugins[i].push(new Plugin(plugin));
loot.game.loadOrder.push(loot.game.plugins[i]);
loot.game.plugins.push(new Plugin(plugin));
loot.game.loadOrder.push(loot.game.plugins[loot.game.plugins.length - 1]);
}
});