From 9ab6799bff6ef3ce3a6131838ce38a4e9b90ad73 Mon Sep 17 00:00:00 2001 From: DEATHB4DEFEAT Date: Sat, 27 Jan 2024 22:20:02 -0800 Subject: [PATCH] remove datafields that don't exist anymore --- Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs | 6 +++--- Resources/Prototypes/Species/dwarf.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs b/Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs index 7d7678b4ba..a266949000 100644 --- a/Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs +++ b/Content.Shared/Humanoid/Prototypes/SpeciesPrototype.cs @@ -126,19 +126,19 @@ public sealed partial class SpeciesPrototype : IPrototype /// /// The minimum height for this species /// - [DataField("minHeight")] + [DataField] public float MinHeight = 0.75f; /// /// The maximum height for this species /// - [DataField("maxHeight")] + [DataField] public float MaxHeight = 1.25f; /// /// The default height for this species /// - [DataField("defaultHeight")] + [DataField] public float DefaultHeight = 1f; // Parkstation-HeightSlider End } diff --git a/Resources/Prototypes/Species/dwarf.yml b/Resources/Prototypes/Species/dwarf.yml index dd790055f4..643791ef37 100644 --- a/Resources/Prototypes/Species/dwarf.yml +++ b/Resources/Prototypes/Species/dwarf.yml @@ -12,5 +12,3 @@ defaultHeight: 0.8 maxHeight: 0.8 # Parkstation-HeightSlider End - scaleHeight: false - scaleWidth: true