From 440e66e119c092e31ae4c426b495becabbe1a439 Mon Sep 17 00:00:00 2001 From: "David Conway Jr." Date: Sat, 23 Mar 2024 19:24:47 -0500 Subject: [PATCH] * HOTFIX: Resolved Bug Where Blank Licenses could Show Up --- sources/chargen.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/chargen.js b/sources/chargen.js index 720607d20..49178f1b9 100755 --- a/sources/chargen.js +++ b/sources/chargen.js @@ -307,7 +307,8 @@ $(document).ready(function() { let prospectFile = ''; for (let creditEntry of parsedCredits) { var creditPath = creditEntry.substring(0, creditEntry.indexOf(',')); - if (fileName.startsWith(creditPath) && (creditPath.length > prospectPath.length)) { + if (fileName.startsWith(creditPath) && (creditPath.length > prospectPath.length) + && !creditEntry.startsWith(creditPath + ',,,,')) { prospect = creditEntry; prospectPath = creditPath; prospectFile = fileName;