mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-09 17:08:06 +00: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) {
|
if (flagID != -1) {
|
||||||
|
player->GetCharacter()->SetPlayerFlag(ePlayerFlags::JOINED_A_FACTION, true);
|
||||||
player->GetCharacter()->SetPlayerFlag(flagID, true);
|
player->GetCharacter()->SetPlayerFlag(flagID, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user