Fix MP gamestart

This commit is contained in:
Paul Chote
2010-08-18 22:21:08 +12:00
parent cb3f6435ad
commit 21b0b12948
10 changed files with 80 additions and 49 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
var optionsBG = gameRoot.GetWidget("INGAME_OPTIONS_BG");
Game.BeforeGameStart += () => r.OpenWindow("INGAME_ROOT");
Game.OnGameStart += () => gameRoot.GetWidget<RadarBinWidget>("INGAME_RADAR_BIN").SetWorld(Game.world);
Game.AfterGameStart += () => gameRoot.GetWidget<RadarBinWidget>("INGAME_RADAR_BIN").SetWorld(Game.world);
r.GetWidget("INGAME_OPTIONS_BUTTON").OnMouseUp = mi => {
optionsBG.Visible = !optionsBG.Visible;