Fix recharging spray painters (#41725)

change one line
This commit is contained in:
alexalexmax 2025-12-05 02:42:23 -08:00 committed by BarryNorfolk
parent c9627733c1
commit 3719688429
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ public abstract class SharedSprayPainterSystem : EntitySystem
args.Handled = true; args.Handled = true;
if (TryComp<LimitedChargesComponent>(args.Used, out var charges) if (TryComp<LimitedChargesComponent>(args.Used, out var charges)
&& charges.LastCharges < targetGroup.Cost) && Charges.GetCurrentCharges((args.Used, charges)) < targetGroup.Cost)
{ {
var msg = Loc.GetString("spray-painter-interact-no-charges"); var msg = Loc.GetString("spray-painter-interact-no-charges");
_popup.PopupClient(msg, args.User, args.User); _popup.PopupClient(msg, args.User, args.User);