Reposition info widgets/countdown timer widgets in centre top of vp

This commit is contained in:
Scott_NZ
2012-12-12 00:45:58 +13:00
parent 6871d2ed37
commit 32721ac8cb
3 changed files with 8 additions and 13 deletions

View File

@@ -417,10 +417,7 @@ namespace OpenRA.Mods.RA.Missions
{
Sound.Play("timergo1.aud");
reinforcementsTimer = new CountdownTimer(ReinforcementsTicks, ReinforcementsTimerExpired, true);
reinforcementsTimerWidget = new CountdownTimerWidget(
reinforcementsTimer,
"Allied reinforcements arrive in: {0}",
new float2(Game.viewport.Width * 0.35f, Game.viewport.Height * 0.9f));
reinforcementsTimerWidget = new CountdownTimerWidget(reinforcementsTimer, "Allied reinforcements arrive in: {0}");
Ui.Root.AddChild(reinforcementsTimerWidget);
}