Fixed connectionpanel syncing. Closes #575
This commit is contained in:
@@ -166,8 +166,7 @@ namespace Barotrauma.Items.Components
|
||||
{
|
||||
wires[i] = new List<Wire>();
|
||||
|
||||
int wireCount = msg.ReadRangedInteger(0, Connection.MaxLinked);
|
||||
for (int j = 0; j < wireCount; j++)
|
||||
for (int j = 0; j < Connection.MaxLinked; j++)
|
||||
{
|
||||
ushort wireId = msg.ReadUInt16();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user