Added missing reward mappings

This commit is contained in:
Chomp
2025-07-19 20:49:27 +01:00
parent f006afa28d
commit 32663a25df
2 changed files with 8 additions and 2 deletions
@@ -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;
}
}
@@ -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"