(4ad359147) Fix an index out of array exception when trying to set the update order (draw order) while the updateList contains no elements.

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:49:38 +02:00
parent 632dce88c0
commit 5c324a6de9
7 changed files with 242 additions and 8 deletions
@@ -1419,6 +1419,9 @@ namespace Barotrauma.Networking
case ServerNetObject.CLIENT_LIST:
ReadClientList(inc);
break;
case ServerNetObject.CLIENT_LIST:
ReadClientList(inc);
break;
case ServerNetObject.CHAT_MESSAGE:
ChatMessage.ClientRead(inc);
break;