boom
This commit is contained in:
@@ -65,6 +65,7 @@ internal sealed class PairHandlerAdapter : DisposableMediatorSubscriberBase, IPa
|
||||
private int _lastMissingCriticalMods;
|
||||
private int _lastMissingNonCriticalMods;
|
||||
private int _lastMissingForbiddenMods;
|
||||
private bool _lastMissingCachedFiles;
|
||||
private bool _isVisible;
|
||||
private Guid _penumbraCollection;
|
||||
private readonly object _collectionGate = new();
|
||||
@@ -557,7 +558,10 @@ internal sealed class PairHandlerAdapter : DisposableMediatorSubscriberBase, IPa
|
||||
return;
|
||||
}
|
||||
|
||||
var shouldForce = forced || HasMissingCachedFiles(LastReceivedCharacterData);
|
||||
var hasMissingCachedFiles = HasMissingCachedFiles(LastReceivedCharacterData);
|
||||
var missingResolved = _lastMissingCachedFiles && !hasMissingCachedFiles;
|
||||
_lastMissingCachedFiles = hasMissingCachedFiles;
|
||||
var shouldForce = forced || missingResolved;
|
||||
|
||||
if (IsPaused())
|
||||
{
|
||||
@@ -700,7 +704,7 @@ internal sealed class PairHandlerAdapter : DisposableMediatorSubscriberBase, IPa
|
||||
{
|
||||
if (!string.IsNullOrEmpty(replacement.FileSwapPath))
|
||||
{
|
||||
if (!File.Exists(replacement.FileSwapPath))
|
||||
if (Path.IsPathRooted(replacement.FileSwapPath) && !File.Exists(replacement.FileSwapPath))
|
||||
{
|
||||
Logger.LogTrace("Missing file swap path {Path} detected for {Handler}", replacement.FileSwapPath, GetLogIdentifier());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user