Make WithBuildingPlacedAnimation fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:29:55 +01:00
parent 0065d27c68
commit 8e6b764284

View File

@@ -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)