(3a5d98b) v0.9.6.0

This commit is contained in:
Regalis
2019-12-17 14:38:24 +01:00
parent 5c95c53118
commit a3569b8bf0
95 changed files with 1579 additions and 728 deletions
@@ -119,6 +119,7 @@ namespace Barotrauma.Items.Components
{
DrawWire(spriteBatch, draggingConnected, PlayerInput.MousePosition, new Vector2(x + width / 2, y + height - 10), null, panel, "");
}
panel.TriggerRewiringSound();
if (!PlayerInput.LeftButtonHeld())
{
@@ -129,7 +130,11 @@ namespace Barotrauma.Items.Components
panel.DisconnectedWires.Add(draggingConnected);
}
if (GameMain.Client != null) { panel.Item.CreateClientEvent(panel); }
if (GameMain.Client != null)
{
panel.Item.CreateClientEvent(panel);
}
draggingConnected = null;
}
}
@@ -205,7 +210,10 @@ namespace Barotrauma.Items.Components
SetWire(index, draggingConnected);
}
}
if (GameMain.Client != null) { panel.Item.CreateClientEvent(panel); }
if (GameMain.Client != null)
{
panel.Item.CreateClientEvent(panel);
}
draggingConnected = null;
}
}