Skip to content

Commit

Permalink
* HOTFIX: Resolved Bug Where Blank Licenses could Show Up
Browse files Browse the repository at this point in the history
  • Loading branch information
jrconway3 committed Mar 24, 2024
1 parent c02c7fb commit 440e66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/chargen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 440e66e

Please sign in to comment.