Expanded scav exit pool to include coop exits

This commit is contained in:
Dev 2024-09-19 20:35:17 +01:00
parent 5ca4f8531c
commit 0c9a05756f

View File

@ -129,7 +129,7 @@ export class LocationLifecycleService {
}
// Find only scav extracts and overwrite existing exits with them
const scavExtracts = mapExtracts.filter((extract) => extract.Side.toLowerCase() === "scav");
const scavExtracts = mapExtracts.filter((extract) => ["scav", "coop"].includes(extract.Side.toLowerCase()));
if (scavExtracts.length > 0) {
// Scav extracts found, use them
locationData.exits = scavExtracts;