DamageSpecifier Total => GetTotal (#24160)
* DamageSpecifier [Obsolete] Total => GetTotal() * Remove obsolete Total member from DamageSpecifier.
This commit is contained in:
@@ -38,10 +38,6 @@ namespace Content.Shared.Damage
|
||||
[IncludeDataField(customTypeSerializer: typeof(DamageSpecifierDictionarySerializer), readOnly: true)]
|
||||
public Dictionary<string, FixedPoint2> DamageDict { get; set; } = new();
|
||||
|
||||
[JsonIgnore]
|
||||
[Obsolete("Use GetTotal()")]
|
||||
public FixedPoint2 Total => GetTotal();
|
||||
|
||||
/// <summary>
|
||||
/// Returns a sum of the damage values.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user