mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-01-04 16:42:56 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user