mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
wait for pair initialize
This commit is contained in:
parent
e4b3a79f2b
commit
a59318896e
1 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ public class Pair
|
||||||
ShownHonorificWarning = _configService.Current.DisableOptionalPluginWarnings,
|
ShownHonorificWarning = _configService.Current.DisableOptionalPluginWarnings,
|
||||||
};
|
};
|
||||||
|
|
||||||
CachedPlayer.Initialize(name);
|
CachedPlayer.Initialize(name).Wait();
|
||||||
|
|
||||||
ApplyLastReceivedData();
|
ApplyLastReceivedData();
|
||||||
|
|
||||||
|
|
@ -222,7 +222,7 @@ public class Pair
|
||||||
data.FileReplacements[objectKind] = data.FileReplacements[objectKind]
|
data.FileReplacements[objectKind] = data.FileReplacements[objectKind]
|
||||||
.Where(f => !f.GamePaths.Any(p => p.EndsWith("tmb", StringComparison.OrdinalIgnoreCase) || p.EndsWith("pap", StringComparison.OrdinalIgnoreCase)))
|
.Where(f => !f.GamePaths.Any(p => p.EndsWith("tmb", StringComparison.OrdinalIgnoreCase) || p.EndsWith("pap", StringComparison.OrdinalIgnoreCase)))
|
||||||
.ToList();
|
.ToList();
|
||||||
if(disableVFX)
|
if (disableVFX)
|
||||||
data.FileReplacements[objectKind] = data.FileReplacements[objectKind]
|
data.FileReplacements[objectKind] = data.FileReplacements[objectKind]
|
||||||
.Where(f => !f.GamePaths.Any(p => p.EndsWith("atex", StringComparison.OrdinalIgnoreCase) || p.EndsWith("avfx", StringComparison.OrdinalIgnoreCase)))
|
.Where(f => !f.GamePaths.Any(p => p.EndsWith("atex", StringComparison.OrdinalIgnoreCase) || p.EndsWith("avfx", StringComparison.OrdinalIgnoreCase)))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue