From 8e6b76428497d8a33452382ce026353e0daa6773 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 1 Aug 2015 13:29:55 +0100 Subject: [PATCH] Make WithBuildingPlacedAnimation fields readonly. --- .../Traits/Render/WithBuildingPlacedAnimation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Render/WithBuildingPlacedAnimation.cs b/OpenRA.Mods.Common/Traits/Render/WithBuildingPlacedAnimation.cs index 783a3c6a4b..0e5b19bd93 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithBuildingPlacedAnimation.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithBuildingPlacedAnimation.cs @@ -23,8 +23,8 @@ namespace OpenRA.Mods.Common.Traits public class WithBuildingPlacedAnimation : INotifyBuildingPlaced, INotifyBuildComplete { - WithBuildingPlacedAnimationInfo info; - RenderSimple renderSimple; + readonly WithBuildingPlacedAnimationInfo info; + readonly RenderSimple renderSimple; bool buildComplete; public WithBuildingPlacedAnimation(Actor self, WithBuildingPlacedAnimationInfo info)