don't overlay the timer on the perf widget; make it big; measure game time, not wallclock time

This commit is contained in:
Chris Forbes
2010-07-15 20:55:01 +12:00
parent 69f499936b
commit 2622ee7171
3 changed files with 11 additions and 13 deletions

View File

@@ -29,7 +29,6 @@ namespace OpenRA.Widgets.Delegates
var optionsBG = gameRoot.GetWidget("INGAME_OPTIONS_BG");
Game.OnGameStart += () => r.OpenWindow("INGAME_ROOT");
Game.OnGameStart += () => gameRoot.GetWidget<TimerWidget>("GAME_TIMER").Stopwatch.Reset();
r.GetWidget("INGAME_OPTIONS_BUTTON").OnMouseUp = mi => {
optionsBG.Visible = !optionsBG.Visible;