Fixed GetCustomisationStorage returning incorrect data

This commit is contained in:
Chomp
2025-01-16 15:16:14 +00:00
parent 11181abba5
commit 844e7bac2f
+4 -1
View File
@@ -265,8 +265,11 @@ public class CustomizationController
var customisationResultsClone = _cloner.Clone(_databaseService.GetTemplates().CustomisationStorage);
var profile = _profileHelper.GetFullProfile(sessionId);
if (profile != null)
if (profile is null)
{
return customisationResultsClone;
}
customisationResultsClone.AddRange(profile.CustomisationUnlocks ?? new());