From d20819735c8ffae4126ddc519ae757be11caa333 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 1 Aug 2015 13:31:38 +0100 Subject: [PATCH] Make WithRotor fields readonly. --- OpenRA.Mods.Common/Traits/Render/WithRotor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Render/WithRotor.cs b/OpenRA.Mods.Common/Traits/Render/WithRotor.cs index 8db1df98a1..6a7f98693c 100644 --- a/OpenRA.Mods.Common/Traits/Render/WithRotor.cs +++ b/OpenRA.Mods.Common/Traits/Render/WithRotor.cs @@ -45,9 +45,9 @@ namespace OpenRA.Mods.Common.Traits public class WithRotor : ITick { - WithRotorInfo info; - Animation rotorAnim; - IMove movement; + readonly WithRotorInfo info; + readonly Animation rotorAnim; + readonly IMove movement; public WithRotor(Actor self, WithRotorInfo info) {