Make WithIdleOverlay fields readonly.
This commit is contained in:
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public class WithIdleOverlay : UpgradableTrait<WithIdleOverlayInfo>, INotifyDamageStateChanged, INotifyBuildComplete, INotifySold, INotifyTransform
|
public class WithIdleOverlay : UpgradableTrait<WithIdleOverlayInfo>, INotifyDamageStateChanged, INotifyBuildComplete, INotifySold, INotifyTransform
|
||||||
{
|
{
|
||||||
Animation overlay;
|
readonly Animation overlay;
|
||||||
bool buildComplete;
|
bool buildComplete;
|
||||||
|
|
||||||
public WithIdleOverlay(Actor self, WithIdleOverlayInfo info)
|
public WithIdleOverlay(Actor self, WithIdleOverlayInfo info)
|
||||||
|
|||||||
Reference in New Issue
Block a user