Kill MapStub

This commit is contained in:
Paul Chote
2011-02-11 21:21:02 +13:00
parent 73020a9419
commit c2db816837
8 changed files with 79 additions and 112 deletions

View File

@@ -57,7 +57,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
widget.GetWidget("REPLAY_INFO").IsVisible = () => currentReplay != null;
}
MapStub MapStubFromSummary(ReplaySummary rs)
Map MapFromSummary(ReplaySummary rs)
{
if (rs.LobbyInfo == null)
return null;
@@ -81,7 +81,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
try
{
var summary = new ReplaySummary(currentReplay);
var mapStub = MapStubFromSummary(summary);
var mapStub = MapFromSummary(summary);
widget.GetWidget<LabelWidget>("DURATION").GetText =
() => WidgetUtils.FormatTime(summary.Duration * 3 /* todo: 3:1 ratio isnt always true. */);