From ba3b3a28b44e896529d9729b48e2bf0141024e51 Mon Sep 17 00:00:00 2001 From: compujuckel Date: Mon, 22 Apr 2024 16:57:42 +0200 Subject: [PATCH] remove AI=none from API extension field --- AssettoServer/Server/Ai/AiBehavior.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/AssettoServer/Server/Ai/AiBehavior.cs b/AssettoServer/Server/Ai/AiBehavior.cs index 2a4243ae..ae390844 100644 --- a/AssettoServer/Server/Ai/AiBehavior.cs +++ b/AssettoServer/Server/Ai/AiBehavior.cs @@ -466,7 +466,6 @@ private void SetHttpDetailsExtensions() { _httpInfoCache.Extensions.Add("aiTraffic", new Dictionary> { - { "none", _entryCarManager.EntryCars.Where(c => c.AiMode == AiMode.None).Select(c => c.SessionId).ToList() }, { "auto", _entryCarManager.EntryCars.Where(c => c.AiMode == AiMode.Auto).Select(c => c.SessionId).ToList() }, { "fixed", _entryCarManager.EntryCars.Where(c => c.AiMode == AiMode.Fixed).Select(c => c.SessionId).ToList() } });