Make WithRepairOverlay fields readonly.

This commit is contained in:
Paul Chote
2015-08-01 13:31:17 +01:00
parent bb092ec07b
commit f91b28a2a0

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.Common.Traits
public class WithRepairOverlay : INotifyDamageStateChanged, INotifyBuildComplete, INotifySold, INotifyRepair public class WithRepairOverlay : INotifyDamageStateChanged, INotifyBuildComplete, INotifySold, INotifyRepair
{ {
Animation overlay; readonly Animation overlay;
bool buildComplete; bool buildComplete;
public WithRepairOverlay(Actor self, WithRepairOverlayInfo info) public WithRepairOverlay(Actor self, WithRepairOverlayInfo info)