Added handling of SHOOTING_RANGE_MARK to AddHideoutCustomisationUnlock() Resolves #339
This commit is contained in:
@@ -683,7 +683,7 @@ public class ProfileHelper(
|
||||
|
||||
if (fullProfile?.CustomisationUnlocks?.Any(u => u.Id == reward.Target) ?? false)
|
||||
{
|
||||
_logger.Warning($"Profile: {fullProfile.ProfileInfo.ProfileId} already has hideout customisaiton reward: {reward.Target}, skipping");
|
||||
_logger.Warning($"Profile: {fullProfile.ProfileInfo.ProfileId} already has hideout customisation reward: {reward.Target}, skipping");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -722,6 +722,9 @@ public class ProfileHelper(
|
||||
case CustomisationTypeId.ENVIRONMENT_UI:
|
||||
rewardToStore.Type = CustomisationType.ENVIRONMENT;
|
||||
break;
|
||||
case CustomisationTypeId.SHOOTING_RANGE_MARK:
|
||||
rewardToStore.Type = CustomisationType.SHOOTING_RANGE_MARK;
|
||||
break;
|
||||
default:
|
||||
_logger.Error($"Unhandled customisation unlock type: {matchingCustomisation.Parent} not added to profile");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user