Make WithProductionOverlay fields readonly.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public class WithProductionOverlay : INotifyDamageStateChanged, ITick, INotifyBuildComplete, INotifySold
|
public class WithProductionOverlay : INotifyDamageStateChanged, ITick, INotifyBuildComplete, INotifySold
|
||||||
{
|
{
|
||||||
Animation overlay;
|
readonly Animation overlay;
|
||||||
ProductionQueue queue;
|
ProductionQueue queue;
|
||||||
bool buildComplete;
|
bool buildComplete;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user