fully define guidl ranks

more testing with the guild list
This commit is contained in:
Aaron Kimbre
2023-11-23 06:48:55 -06:00
parent a4bf11502f
commit 4722c1fdea
3 changed files with 20 additions and 9 deletions

View File

@@ -439,7 +439,7 @@ void ClientPackets::HandleGuildCreation(Packet* packet) {
return;
}
Database::Get()->InsertGuildMember(newGuild->id, character->GetID(), eGuildRank::FOUNDER);
Database::Get()->InsertGuildMember(newGuild->id, character->GetID(), eGuildRank::LEADER);
characterComp->SetGuild(newGuild->id, guildName.string);
SendGuildCreateResponse(packet->systemAddress, eGuildCreationResponse::CREATED, newGuild->id, guildName.string);