hotfix for #2789, ready CheckBox

This commit is contained in:
Sascha Biedermann
2013-03-27 12:58:43 +01:00
parent ba7310d0a0
commit 10c38d1339

View File

@@ -438,7 +438,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
var status = template.Get<CheckboxWidget>("STATUS_CHECKBOX");
status.IsChecked = () => ready;
status.IsVisible = () => true;
status.OnClick += CycleReady;
status.OnClick = CycleReady;
}
else // Bot
template.Get<ImageWidget>("STATUS_IMAGE").IsVisible = () => true;
@@ -513,7 +513,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
var status = template.Get<CheckboxWidget>("STATUS_CHECKBOX");
status.IsChecked = () => ready;
status.OnClick += CycleReady;
status.OnClick = CycleReady;
}
// Non-editable spectator
else