mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
parent
9bdd7307fd
commit
bffd951867
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ public abstract class SharedChargesSystem : EntitySystem
|
|||
action.Comp.LastUpdate = _timing.CurTime;
|
||||
}
|
||||
|
||||
action.Comp.LastCharges = Math.Clamp(action.Comp.LastCharges + addCharges, 0, action.Comp.MaxCharges);
|
||||
action.Comp.LastCharges = Math.Clamp(charges, 0, action.Comp.MaxCharges);
|
||||
Dirty(action);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue