Clean up polymorphsystem (#14297)
This commit is contained in:
@@ -17,6 +17,6 @@ namespace Content.Server.Polymorph.Components
|
||||
/// The polymorphs that the entity starts out being able to do.
|
||||
/// </summary>
|
||||
[DataField("innatePolymorphs", customTypeSerializer : typeof(PrototypeIdListSerializer<PolymorphPrototype>))]
|
||||
public List<string>? InnatePolymorphs = null;
|
||||
public List<string>? InnatePolymorphs;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,13 +17,13 @@ namespace Content.Server.Polymorph.Components
|
||||
/// The original entity that the player will revert back into
|
||||
/// </summary>
|
||||
[DataField("parent", required: true)]
|
||||
public EntityUid Parent = new();
|
||||
public EntityUid Parent;
|
||||
|
||||
/// <summary>
|
||||
/// The amount of time that has passed since the entity was created
|
||||
/// used for tracking the duration
|
||||
/// </summary>
|
||||
[DataField("time")]
|
||||
public float Time = 0;
|
||||
public float Time;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user