Additional cargo isn't spawned in shuttles, fixed exception if trying to spawn additional cargo in a sub with no cargo spawnpoint, netlobby chatMsgBox stays selected after sending a chat message

This commit is contained in:
Regalis
2016-10-08 18:02:10 +03:00
parent 1ba87165b0
commit 1b66e51970
2 changed files with 13 additions and 4 deletions
@@ -251,8 +251,8 @@ namespace Barotrauma.Networking
if (string.IsNullOrWhiteSpace(message)) return false;
SendChatMessage(message);
textBox.Deselect();
if (textBox == chatMsgBox) textBox.Deselect();
return true;
}