Fixed issue with GetUserBuilds

This commit is contained in:
Chomp
2025-01-16 18:00:01 +00:00
parent a2f82fa81b
commit c6538a7607
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -62,14 +62,7 @@ public class BuildController
// Clone player build data from profile and append the above defaults onto end
var userBuildsClone = _cloner.Clone(profile.UserBuildData);
userBuildsClone.EquipmentBuilds.AddRange(defaultEquipmentPresetsClone.Select(x => new EquipmentBuild
{
Id = x.Id,
BuildType = x.BuildType,
Items = x.Items,
Name = x.Name,
Root = x.Root
}));
userBuildsClone.EquipmentBuilds.AddRange(defaultEquipmentPresetsClone);
return userBuildsClone;
}