0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:10:44 -05:00

Prevent null values from being processed during bundle loading

This commit is contained in:
Dev 2024-01-27 14:23:50 +00:00
parent a48e40b481
commit f2ddc36d88

View File

@ -24,7 +24,7 @@ namespace Aki.SinglePlayer.Models.RaidFix
var loadTask = Singleton<PoolManager>.Instance.LoadBundlesAndCreatePools( var loadTask = Singleton<PoolManager>.Instance.LoadBundlesAndCreatePools(
PoolManager.PoolsCategory.Raid, PoolManager.PoolsCategory.Raid,
PoolManager.AssemblyType.Local, PoolManager.AssemblyType.Local,
Profile.GetAllPrefabPaths(false).ToArray(), Profile.GetAllPrefabPaths(false).Where(x => !x.IsNullOrEmpty()).ToArray(),
JobPriority.General, JobPriority.General,
null, null,
default(CancellationToken)); default(CancellationToken));