Make WithRotor fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:31:38 +01:00
parent f91b28a2a0
commit d20819735c

View File

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