Fix SpawnAndDirtyAllEntities test (#15771)

This commit is contained in:
Leon Friedrich
2023-04-25 21:27:57 +12:00
committed by GitHub
parent 8563f12a7c
commit db8a48ba33
6 changed files with 46 additions and 34 deletions

View File

@@ -43,8 +43,8 @@ public sealed class HumanoidAppearanceComponent : Component
/// Current species. Dictates things like base body sprites,
/// base humanoid to spawn, etc.
/// </summary>
[DataField("species", customTypeSerializer: typeof(PrototypeIdSerializer<SpeciesPrototype>))]
public string Species { get; set; } = string.Empty;
[DataField("species", customTypeSerializer: typeof(PrototypeIdSerializer<SpeciesPrototype>), required: true)]
public string Species { get; set; } = default!;
/// <summary>
/// The initial profile and base layers to apply to this humanoid.