Make WithVoxelBarrel fields readonly.
This commit is contained in:
@@ -48,11 +48,11 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public class WithVoxelBarrel
|
public class WithVoxelBarrel
|
||||||
{
|
{
|
||||||
WithVoxelBarrelInfo info;
|
readonly WithVoxelBarrelInfo info;
|
||||||
Actor self;
|
readonly Actor self;
|
||||||
Armament armament;
|
readonly Armament armament;
|
||||||
Turreted turreted;
|
readonly Turreted turreted;
|
||||||
IBodyOrientation body;
|
readonly IBodyOrientation body;
|
||||||
|
|
||||||
public WithVoxelBarrel(Actor self, WithVoxelBarrelInfo info)
|
public WithVoxelBarrel(Actor self, WithVoxelBarrelInfo info)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user