We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5fa968 + b07f5bd commit 40bc233Copy full SHA for 40bc233
CommunityPromotionScreen/Src/NewPromotionScreenbyDefault/Classes/NPSBDP_UIArmory_PromotionHero.uc
@@ -188,6 +188,13 @@ simulated function PopulateData()
188
}
189
190
191
+ // Display the "soldier has a new class" popup if required (issue #1)
192
+ if (Unit.bNeedsNewClassPopup)
193
+ {
194
+ `HQPRES.UIClassEarned(Unit.GetReference());
195
+ Unit.bNeedsNewClassPopup = false; //Prevent from queueing up more of these popups on toggling soldiers.
196
+ }
197
+
198
AS_SetRank(rankIcon);
199
AS_SetClass(classIcon);
200
AS_SetFaction(FactionState.GetFactionIcon());
0 commit comments