A few more security checks

This commit is contained in:
juanjp600
2016-08-29 18:38:06 -03:00
parent 8a3b901fa2
commit bf686ae997
4 changed files with 10 additions and 6 deletions
@@ -670,6 +670,8 @@ namespace Barotrauma.Items.Components
public override void ReadNetworkData(Networking.NetworkEventType type, Lidgren.Network.NetIncomingMessage message, float sendingTime)
{
if (GameMain.Server != null) return;
bool isDocked = message.ReadBoolean();
if (isDocked)