From c630135b915870127629b14368ea3e2b0872cd93 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 19 Nov 2023 15:09:04 +0100 Subject: [PATCH] fix: use slot of packet instead of calculated slot --- Server/PacketHandlers/CharacterCreationHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/PacketHandlers/CharacterCreationHandler.cs b/Server/PacketHandlers/CharacterCreationHandler.cs index a7e8faa..9a1cbf1 100644 --- a/Server/PacketHandlers/CharacterCreationHandler.cs +++ b/Server/PacketHandlers/CharacterCreationHandler.cs @@ -114,7 +114,7 @@ public class CharacterCreationHandler : IPacketHandler await authSession.SendAsync(new CharacterCreationResponsePacket { Character = character, - Slot = amountOfCharacters - 1, + Slot = packet.Slot, isDuplicate = false, }).ConfigureAwait(false); }