fixes only manip data being sent and not applied, adjustments to file scanner max size calc

This commit is contained in:
rootdarkarchon
2023-02-21 00:47:52 +01:00
parent e461c6d5c9
commit 69e8f3be83
2 changed files with 4 additions and 7 deletions

View File

@@ -403,12 +403,9 @@ public class CachedPlayer : MediatorSubscriberBase, IDisposable
_applicationId = Guid.NewGuid();
_logger.LogDebug("[{applicationId}] Starting application task", _applicationId);
if (updateModdedPaths)
if (updateModdedPaths && (moddedPaths.Any() || !string.IsNullOrEmpty(charaData.ManipulationData)))
{
if (moddedPaths.Any())
{
ApplyBaseData(_applicationId, moddedPaths, charaData.ManipulationData);
}
ApplyBaseData(_applicationId, moddedPaths, charaData.ManipulationData);
}
foreach (var kind in updatedData)