Skip to content

Commit

Permalink
Update BatteryComponent.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Apr 20, 2024
1 parent ba174aa commit 43c0447
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Content.Server/Power/Components/BatteryComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,6 @@ public partial class BatteryComponent : Component
/// </summary>
[DataField]
public float PricePerJoule = 0.0001f;

[Obsolete("Use system method")]
public bool TryUseCharge(float value)
=> _entMan.System<BatterySystem>().TryUseCharge(Owner, value, this);

/// <summary>
/// Whether or not information about
/// the battery will be shown on examine.
/// </summary>
[DataField]
public bool ShowExamineText = true;
}

/// <summary>
Expand Down

0 comments on commit 43c0447

Please sign in to comment.