Make WithRotor fields readonly.
This commit is contained in:
@@ -45,9 +45,9 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public class WithRotor : ITick
|
public class WithRotor : ITick
|
||||||
{
|
{
|
||||||
WithRotorInfo info;
|
readonly WithRotorInfo info;
|
||||||
Animation rotorAnim;
|
readonly Animation rotorAnim;
|
||||||
IMove movement;
|
readonly IMove movement;
|
||||||
|
|
||||||
public WithRotor(Actor self, WithRotorInfo info)
|
public WithRotor(Actor self, WithRotorInfo info)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user