mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
fuck vfx
This commit is contained in:
parent
a46c63c12a
commit
a9a57e0a31
6 changed files with 51 additions and 22 deletions
|
|
@ -165,14 +165,6 @@ public sealed class CacheCreationService : DisposableMediatorSubscriberBase
|
|||
await _characterDataFactory.BuildCharacterData(_playerData, obj.Value, _cts.Token).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
int maxWaitingTime = 10000;
|
||||
while (!_playerData.IsReady && maxWaitingTime > 0)
|
||||
{
|
||||
await Task.Delay(100).ConfigureAwait(false);
|
||||
maxWaitingTime -= 100;
|
||||
Logger.LogTrace("Waiting for Cache to be ready");
|
||||
}
|
||||
|
||||
Mediator.Publish(new CharacterDataCreatedMessage(_playerData.ToAPI()));
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue