Make WithIdleOverlay fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:30:46 +01:00
parent a2d069ce55
commit c5becaab9b

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Traits
public class WithIdleOverlay : UpgradableTrait<WithIdleOverlayInfo>, INotifyDamageStateChanged, INotifyBuildComplete, INotifySold, INotifyTransform
{
Animation overlay;
readonly Animation overlay;
bool buildComplete;
public WithIdleOverlay(Actor self, WithIdleOverlayInfo info)