@@ -154,8 +154,6 @@ public abstract partial class SharedGunSystem
|
|||||||
Del(ent.Value);
|
Del(ent.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdateBallisticAppearance(args.Target.Value, component);
|
|
||||||
UpdateAmmoCount(args.Target.Value);
|
|
||||||
// repeat if there is more space in the target and more ammo to fill
|
// repeat if there is more space in the target and more ammo to fill
|
||||||
var moreSpace = target.Entities.Count + target.UnspawnedCount < target.Capacity;
|
var moreSpace = target.Entities.Count + target.UnspawnedCount < target.Capacity;
|
||||||
var moreAmmo = component.Entities.Count + component.UnspawnedCount > 0;
|
var moreAmmo = component.Entities.Count + component.UnspawnedCount > 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user