Expanded scav exit pool to include coop exits
This commit is contained in:
parent
5ca4f8531c
commit
0c9a05756f
@ -129,7 +129,7 @@ export class LocationLifecycleService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Find only scav extracts and overwrite existing exits with them
|
// 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) {
|
if (scavExtracts.length > 0) {
|
||||||
// Scav extracts found, use them
|
// Scav extracts found, use them
|
||||||
locationData.exits = scavExtracts;
|
locationData.exits = scavExtracts;
|
||||||
|
Loading…
Reference in New Issue
Block a user