Tweak stun batons to use a battery instead of power cell (#8716)
* Allow baton/battery to be inserted into recharger * Revert "Allow baton/battery to be inserted into recharger" This reverts commit ccf1f3d1827bf45c49bb6ca4f5c97990d1afba6e. * Refactor stun batons to use internal batteries
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Content.Server.Power.Components
|
||||
/// </summary>
|
||||
public virtual bool TryUseCharge(float chargeToUse)
|
||||
{
|
||||
if (chargeToUse >= CurrentCharge)
|
||||
if (chargeToUse > CurrentCharge)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user