From 08e1ec6b1eab2801154f597610adbc2959c6c364 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Mon, 31 Oct 2016 15:51:59 +1000 Subject: [PATCH] Removing packs now rebuilds enabled. Still kinda broken, but it's not UI accessible anyway --- src/js/ResourceManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/ResourceManager.js b/src/js/ResourceManager.js index ddb7d58..13eb2c5 100644 --- a/src/js/ResourceManager.js +++ b/src/js/ResourceManager.js @@ -246,12 +246,14 @@ class Resources { if (index != -1) { this.resourcePacks.splice(index, 1); this.rebuildArrays(); + this.rebuildEnabled(); } } removeAllPacks() { this.resourcePacks = []; this.rebuildArrays(); + this.rebuildEnabled(); } getSongNames() {