From 0c9a05756fd5d40042cbbb1a9834f16f17ffb8f9 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 19 Sep 2024 20:35:17 +0100 Subject: [PATCH] Expanded scav exit pool to include coop exits --- project/src/services/LocationLifecycleService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/services/LocationLifecycleService.ts b/project/src/services/LocationLifecycleService.ts index 7def1b48..a94ad742 100644 --- a/project/src/services/LocationLifecycleService.ts +++ b/project/src/services/LocationLifecycleService.ts @@ -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;