mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Reduce use of GetName and SetName, prefer direct
This commit is contained in:
@@ -309,10 +309,7 @@ namespace SabreTools.Serialization.Readers
|
||||
game.SampleOf = reader.Standalone?.Value;
|
||||
break;
|
||||
case "sample":
|
||||
var sample = new Sample
|
||||
{
|
||||
Name = reader.Standalone?.Value ?? string.Empty,
|
||||
};
|
||||
var sample = new Sample { Name = reader.Standalone?.Value ?? string.Empty, };
|
||||
samples.Add(sample);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user