finally fixing something else.

This commit is contained in:
dingo
2026-01-30 23:43:33 -05:00
parent c34d4efeed
commit 490a307f92
+7 -3
View File
@@ -165,10 +165,14 @@ public sealed partial class DungeonHandler : IClientMessageHandler
return;
}
// Get or create player session
// Get or create player session (only for authenticated opcodes)
if (opCode == OpCodes.PONG)
{
return;
}
var session = await GetOrCreateSessionAsync(connection, accountId, ct);
if (session == null && opCode != OpCodes.PONG)
if (session == null)
{
await SendErrorAsync(connection, "no_character", ct);
return;