fighting CDN Round 1

This commit is contained in:
dingo
2025-12-19 11:34:17 -05:00
parent 260e6fa072
commit e69f35c1f5
+6 -3
View File
@@ -130,10 +130,13 @@ public sealed class DungeonHandler : IClientMessageHandler
}
// 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);
return;
if (!_sessions.TryGet(connection.Id, out var accountId, out _))
{
await SendErrorAsync(connection, "auth_required", ct);
return;
}
}
// Get or create player session