Make WithHarvestOverlay fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:30:11 +01:00
parent 8e6b764284
commit a2d069ce55

View File

@@ -30,8 +30,8 @@ namespace OpenRA.Mods.Common.Traits
class WithHarvestOverlay : INotifyHarvesterAction
{
WithHarvestOverlayInfo info;
Animation anim;
readonly WithHarvestOverlayInfo info;
readonly Animation anim;
bool visible;
public WithHarvestOverlay(Actor self, WithHarvestOverlayInfo info)