another mistake

This commit is contained in:
rfi 2024-05-01 16:47:33 +07:00
parent 45ece5b487
commit 3b7afcb9b7
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ namespace SCHALE.GameServer.Controllers.Api.ProtocolHandlers
AccountServerId = account.ServerId, AccountServerId = account.ServerId,
EchelonNumber = 1, EchelonNumber = 1,
LeaderServerId = newCharacters[0].ServerId, LeaderServerId = newCharacters[0].ServerId,
MainSlotServerIds = newCharacters.Take(3).Select(x => x.ServerId).Append(0).ToList() MainSlotServerIds = newCharacters.Take(3).Select(x => x.ServerId).Append(0).ToList(),
SupportSlotServerIds = [0, 0]
}); });
} }
context.SaveChanges(); context.SaveChanges();