From 3ede7006f9b7c911a3a20fde9a5bdfc1fcd59d8a Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Mon, 17 Jan 2022 19:43:37 -0800 Subject: [PATCH] Added Joined a faction flag Added logic to set the player flag for joining a faction. Tested on Ubuntu and had zero issues. --- dScripts/NsGetFactionMissionServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dScripts/NsGetFactionMissionServer.cpp b/dScripts/NsGetFactionMissionServer.cpp index 99f2f838..d4d03243 100644 --- a/dScripts/NsGetFactionMissionServer.cpp +++ b/dScripts/NsGetFactionMissionServer.cpp @@ -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); }