Make GenerateLocationAndLoot public & virtual

This commit is contained in:
Archangel
2025-03-08 17:43:41 +01:00
parent 744c14b72c
commit c872dd3d7f
@@ -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);