Removed Voice from profile.info

Added 'voice' to `profile.Customisation`
This commit is contained in:
Chomp
2025-07-09 17:02:31 +01:00
parent a3d8eb2b81
commit d5fc9be339
5 changed files with 20 additions and 18 deletions
@@ -186,7 +186,7 @@ public class ProfileController(
public virtual void ChangeVoice(ProfileChangeVoiceRequestData request, MongoId sessionID)
{
var pmcData = profileHelper.GetPmcProfile(sessionID);
pmcData.Info.Voice = request.Voice;
pmcData.Customization.Voice = request.Voice;
}
/// <summary>
@@ -328,6 +328,7 @@ public class ProfileController(
Feet = profileToViewPmc.Customization.Feet,
Hands = profileToViewPmc.Customization.Hands,
Dogtag = profileToViewPmc.Customization.DogTag,
Voice = profileToViewPmc.Customization.Voice,
},
Skills = profileToViewPmc.Skills,
Equipment = new OtherProfileEquipment