fix logic

This commit is contained in:
CWX
2025-02-03 14:26:48 +00:00
parent 274c9025e1
commit 9fb41fe0c7
@@ -395,9 +395,9 @@ public class CreateProfileService(
private string? GetGameEdition(SptProfile profile)
{
var edition = profile.CharacterData?.PmcData?.Info?.GameVersion;
if (edition is null)
if (edition is not null)
{
return null;
return edition;
}
// Edge case - profile not created yet, fall back to what launcher has set