From c872dd3d7f122edf3d81004b5d140771711215eb Mon Sep 17 00:00:00 2001 From: Archangel Date: Sat, 8 Mar 2025 17:43:41 +0100 Subject: [PATCH] Make GenerateLocationAndLoot public & virtual --- .../SPTarkov.Server.Core/Services/LocationLifecycleService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs b/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs index 3e4a7f4f..76e82056 100644 --- a/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs +++ b/Libraries/SPTarkov.Server.Core/Services/LocationLifecycleService.cs @@ -328,7 +328,7 @@ public class LocationLifecycleService * @param generateLoot OPTIONAL - Should loot be generated for the map before being returned * @returns LocationBase */ - protected LocationBase GenerateLocationAndLoot(string name, bool generateLoot = true) + public virtual LocationBase GenerateLocationAndLoot(string name, bool generateLoot = true) { var location = _databaseService.GetLocation(name); var locationBaseClone = _cloner.Clone(location.Base);