Mark fields readonly.
This commit is contained in:
committed by
abcdefg30
parent
4a60d56753
commit
b147da388a
@@ -125,9 +125,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
int ticksSinceLastShot;
|
||||
int currentBarrel;
|
||||
int barrelCount;
|
||||
readonly int barrelCount;
|
||||
|
||||
List<(int Ticks, Action Func)> delayedActions = new List<(int, Action)>();
|
||||
readonly List<(int Ticks, Action Func)> delayedActions = new List<(int, Action)>();
|
||||
|
||||
public WDist Recoil;
|
||||
public int FireDelay { get; protected set; }
|
||||
|
||||
Reference in New Issue
Block a user