quick hack around the teamchat crash in lobby
This commit is contained in:
@@ -46,6 +46,8 @@ namespace OpenRA.Network
|
||||
{
|
||||
var client = orderManager.LobbyInfo.ClientWithIndex(clientId);
|
||||
if (client != null)
|
||||
{
|
||||
if (world != null) // TODO: fix this whole thing properly. this is BS.
|
||||
{
|
||||
var player = world.FindPlayerByClientId(clientId);
|
||||
var display = player != null
|
||||
@@ -58,6 +60,7 @@ namespace OpenRA.Network
|
||||
Game.AddChatLine(client.Color1, client.Name + suffix, order.TargetString);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "StartGame":
|
||||
|
||||
Reference in New Issue
Block a user