Added missing reward mappings
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user