Make WithHarvestOverlay fields readonly.
This commit is contained in:
@@ -30,8 +30,8 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
class WithHarvestOverlay : INotifyHarvesterAction
|
class WithHarvestOverlay : INotifyHarvesterAction
|
||||||
{
|
{
|
||||||
WithHarvestOverlayInfo info;
|
readonly WithHarvestOverlayInfo info;
|
||||||
Animation anim;
|
readonly Animation anim;
|
||||||
bool visible;
|
bool visible;
|
||||||
|
|
||||||
public WithHarvestOverlay(Actor self, WithHarvestOverlayInfo info)
|
public WithHarvestOverlay(Actor self, WithHarvestOverlayInfo info)
|
||||||
|
|||||||
Reference in New Issue
Block a user