Only hang shard startup until sending identify

This commit is contained in:
Ske 2021-08-12 09:05:02 +02:00
parent 8de6960335
commit 0b0ea5af1c

View File

@ -116,7 +116,7 @@ namespace Myriad.Gateway
_worker = ShardLoop();
// we can probably TCS this instead of spin loop but w/e
while (State != ShardState.Connected)
while (State != ShardState.Identifying)
await Task.Delay(100);
}