fighting CDN Round 2

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