fighting CDN Round 2

This commit is contained in:
dingo
2025-12-19 11:37:21 -05:00
parent e69f35c1f5
commit 2913d057e9
+7 -5
View File
@@ -132,12 +132,14 @@ public sealed class DungeonHandler : IClientMessageHandler
// All dungeon operations require authentication
if (opCode != DungeonOpCodes.ASSET_MANIFEST_REQUEST)
{
if (!_sessions.TryGet(connection.Id, out var accountId, out _))
{
await SendErrorAsync(connection, "auth_required", ct);
return;
}
await HandleAssetManifestRequest(connection, ct);
}
if (!_sessions.TryGet(connection.Id, out var accountId, out _))
{
await SendErrorAsync(connection, "auth_required", ct);
return;
}
// Get or create player session
var session = await GetOrCreateSessionAsync(connection, accountId, ct);