Updated adjustExtracts()
to push scav extracts into existing exits instead of overwriting
This commit is contained in:
parent
73eae5bd94
commit
47b2aee91a
@ -129,10 +129,10 @@ export class LocationLifecycleService {
|
||||
}
|
||||
|
||||
// Find only scav extracts and overwrite existing exits with them
|
||||
const scavExtracts = mapExtracts.filter((extract) => ["scav", "coop"].includes(extract.Side.toLowerCase()));
|
||||
const scavExtracts = mapExtracts.filter((extract) => ["scav"].includes(extract.Side.toLowerCase()));
|
||||
if (scavExtracts.length > 0) {
|
||||
// Scav extracts found, use them
|
||||
locationData.exits = scavExtracts;
|
||||
locationData.exits.push(...scavExtracts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user