Remove Game.AfterGameStart

This commit is contained in:
Paul Chote
2011-05-30 20:57:30 +12:00
parent 2ebb2ae921
commit b487476ea9
3 changed files with 7 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
return true;
};
Game.AfterGameStart += _ => validPlayers = world.players.Values.Where(a => a != world.LocalPlayer && !a.NonCombatant).Count();
validPlayers = world.players.Values.Where(a => a != world.LocalPlayer && !a.NonCombatant).Count();
diplomacy.IsVisible = () => (validPlayers > 0);
}