Added Joined a faction flag

Added logic to set the player flag for joining a faction.  Tested on Ubuntu and had zero issues.
This commit is contained in:
EmosewaMC 2022-01-17 19:43:37 -08:00
parent 789c0890ca
commit 3ede7006f9

View File

@ -44,6 +44,7 @@ void NsGetFactionMissionServer::OnRespondToMission(Entity* self, int missionID,
}
if (flagID != -1) {
player->GetCharacter()->SetPlayerFlag(ePlayerFlags::JOINED_A_FACTION, true);
player->GetCharacter()->SetPlayerFlag(flagID, true);
}