Skip to content
Snippets Groups Projects
Commit a5d21853 authored by FarawayVision's avatar FarawayVision
Browse files

Bundles: fix opponents listing

parent 1647790a
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ function create_bundle_entry (manifest) {
var title = capitalize(manifest.category) + ' Opponents #' + manifest.index;
var includes_opponents = manifest.folders.reduce(function (acc, val) {
var opp = val.replace('opponents\\', '');
var opp = val.replace(/opponents[\\\/]/gi, '');
if (acc.length > 0) acc += ', ';
acc += capitalize(opp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment