finally fixing something else.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user