Empty should be null (#868)

This commit is contained in:
fuzzball
2025-07-09 20:23:09 +09:00
committed by GitHub
parent b806bc6cd1
commit a658c80de7

View File

@@ -2176,7 +2176,7 @@ namespace MPF.Processors
#endif
// Now that we're at the offsets, attempt to get the sample offset
return string.Join("; ", [.. offsets]);
return offsets.Count == 0 ? null : string.Join("; ", [.. offsets]);
}
catch
{