diff --git a/src/server/packets/PlayerLogoutCsReq.ts b/src/server/packets/PlayerLogoutCsReq.ts index 8200668..cc01d61 100644 --- a/src/server/packets/PlayerLogoutCsReq.ts +++ b/src/server/packets/PlayerLogoutCsReq.ts @@ -4,5 +4,5 @@ import SRServer from "../kcp/SRServer"; export default async function handle(session: Session, packet: Packet) { // Remove from session list - SRServer.getInstance().sessions.delete(`${session.ctx.address}:${session.ctx.port}`); + SRServer.getInstance().sessions.delete(session.id); } \ No newline at end of file