diff --git a/assets/analyzer.js b/assets/analyzer.js index 2837757..a587363 100644 --- a/assets/analyzer.js +++ b/assets/analyzer.js @@ -308,7 +308,7 @@ async function mainScan(hasData = false) { if (Object.values(filetypes).reduce((a, b) => a + b) == 0) document.getElementById("progress").innerHTML = "No " + (rpMode ? "resource" : "data") + "pack files found!" const uncalledFunctions = dpExclusive.functions.filter(funcName => !dpExclusive.functionCalls.some(func => func.target == funcName)) - const missingFunctions = dpExclusive.functionCalls.filter(func => !dpExclusive.functions.includes(func.target)) + const missingFunctions = [...new Set(dpExclusive.functionCalls.filter(func => !dpExclusive.functions.includes(func.target)).map(func => func.target))] let html = (packImages.length > 0 ? "