fighting CDN Round 1
This commit is contained in:
@@ -130,10 +130,13 @@ public sealed class DungeonHandler : IClientMessageHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// All dungeon operations require authentication
|
// All dungeon operations require authentication
|
||||||
if (!_sessions.TryGet(connection.Id, out var accountId, out _))
|
if (opCode != DungeonOpCodes.ASSET_MANIFEST_REQUEST)
|
||||||
{
|
{
|
||||||
await SendErrorAsync(connection, "auth_required", ct);
|
if (!_sessions.TryGet(connection.Id, out var accountId, out _))
|
||||||
return;
|
{
|
||||||
|
await SendErrorAsync(connection, "auth_required", ct);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get or create player session
|
// Get or create player session
|
||||||
|
|||||||
Reference in New Issue
Block a user