internal void HandleGMUpdate(ServerPlayer player, MsgGMUpdate message) { if (message == null && player == null || !player.CanDoPlayActions()) { return; } ShotInfo shot = FindShot(player.PlayerID, message.ShotID); ServerPlayer target = Players.GetPlayerByID(message.TargetID); if (target == null || shot == null || !target.CanDoPlayActions() || shot.ShotType != ShotTypes.GuidedShot) { return; } UpdateShot(shot, message.Position, message.Velocity, message.DeltaTime, target); }