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
@@ -528,6 +528,8 @@ namespace Barotrauma
public override void ReadNetworkData(NetIncomingMessage message)
{
if (GameMain.Server != null) return;
AiState newState = AiState.None;
Vector2 newWallAttackPos = Vector2.Zero;
float wanderAngle;