Add readonly where it is missing and fix those field names according to their modifiers (#2589)
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Ammunition
|
||||
{
|
||||
public override string Name => "RangedMagazine";
|
||||
|
||||
private Stack<IEntity> _spawnedAmmo = new Stack<IEntity>();
|
||||
private readonly Stack<IEntity> _spawnedAmmo = new Stack<IEntity>();
|
||||
private Container _ammoContainer;
|
||||
|
||||
public int ShotsLeft => _spawnedAmmo.Count + _unspawnedCount;
|
||||
|
||||
Reference in New Issue
Block a user