Fix prapor gift system failure on new profile creation

This commit is contained in:
Dev 2023-07-23 11:36:41 +01:00
parent 89ab3a99a8
commit 253fd3a42a

View File

@ -126,8 +126,6 @@ export class GameController
this.splitBotWavesIntoSingleWaves(); this.splitBotWavesIntoSingleWaves();
} }
this.sendPraporGiftsToNewProfiles(pmcProfile);
this.profileFixerService.removeLegacyScavCaseProductionCrafts(pmcProfile); this.profileFixerService.removeLegacyScavCaseProductionCrafts(pmcProfile);
this.profileFixerService.addMissingHideoutAreasToProfile(fullProfile); this.profileFixerService.addMissingHideoutAreasToProfile(fullProfile);
@ -146,6 +144,8 @@ export class GameController
if (pmcProfile.Inventory) if (pmcProfile.Inventory)
{ {
this.sendPraporGiftsToNewProfiles(pmcProfile);
this.profileFixerService.checkForOrphanedModdedItems(sessionID, pmcProfile); this.profileFixerService.checkForOrphanedModdedItems(sessionID, pmcProfile);
} }