Skip to content

Commit

Permalink
Update BatteryDrinkerSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Aug 29, 2024
1 parent 2b4fa5b commit e1aaecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Power/Systems/BatteryDrinkerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void AddAltVerb(EntityUid uid, BatteryComponent batteryComponent, GetVer
if (!args.CanAccess || !args.CanInteract
|| !TryComp<BatteryDrinkerComponent>(args.User, out var drinkerComp)
|| !TestDrinkableBattery(uid, drinkerComp)
|| !_silicon.TryGetSiliconBattery(args.User, out var drinkerBattery))
|| !_silicon.TryGetSiliconBattery(args.User, out var _))
return;

AlternativeVerb verb = new()
Expand Down

0 comments on commit e1aaecb

Please sign in to comment.