Awesome loadscreen for ra; crashfixes

This commit is contained in:
Paul Chote
2010-08-25 01:27:52 +12:00
parent 08a60ca336
commit b17e6900ec
7 changed files with 37 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
var postgameText = postgameBG.GetWidget<LabelWidget>("TEXT");
postgameBG.IsVisible = () =>
{
return Game.world.LocalPlayer.WinState != WinState.Undefined;
return Game.world.LocalPlayer != null && Game.world.LocalPlayer.WinState != WinState.Undefined;
};
postgameText.GetText = () =>