diff --git a/Libraries/SPTarkov.Server.Core/Helpers/PrestigeHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/PrestigeHelper.cs index 2eee2006..ebde91fa 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/PrestigeHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/PrestigeHelper.cs @@ -172,7 +172,7 @@ public class PrestigeHelper( break; } default: - logger.Error($"Unhandled prestige reward type: {reward.Type}"); + logger.Error($"Unhandled prestige reward type: {reward.Type} Id: {reward.Id}"); break; } } diff --git a/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs index 3eb8427f..f35521a9 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/ProfileHelper.cs @@ -682,7 +682,7 @@ public class ProfileHelper( { var rewardToStore = new CustomisationStorage { - Id = reward.Target, + Id = new MongoId(reward.Target), Source = source, Type = null, }; @@ -713,6 +713,12 @@ public class ProfileHelper( case CustomisationTypeId.SHOOTING_RANGE_MARK: rewardToStore.Type = CustomisationType.SHOOTING_RANGE_MARK; break; + case CustomisationTypeId.VOICE: + rewardToStore.Type = CustomisationType.VOICE; + break; + case CustomisationTypeId.LIGHT: + rewardToStore.Type = CustomisationType.LIGHT; + break; default: logger.Error( $"Unhandled customisation unlock type: {matchingCustomisation.Parent} not added to profile"