Make WithBuildingPlacedAnimation fields readonly.
This commit is contained in:
@@ -23,8 +23,8 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public class WithBuildingPlacedAnimation : INotifyBuildingPlaced, INotifyBuildComplete
|
public class WithBuildingPlacedAnimation : INotifyBuildingPlaced, INotifyBuildComplete
|
||||||
{
|
{
|
||||||
WithBuildingPlacedAnimationInfo info;
|
readonly WithBuildingPlacedAnimationInfo info;
|
||||||
RenderSimple renderSimple;
|
readonly RenderSimple renderSimple;
|
||||||
bool buildComplete;
|
bool buildComplete;
|
||||||
|
|
||||||
public WithBuildingPlacedAnimation(Actor self, WithBuildingPlacedAnimationInfo info)
|
public WithBuildingPlacedAnimation(Actor self, WithBuildingPlacedAnimationInfo info)
|
||||||
|
|||||||
Reference in New Issue
Block a user