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 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)