Skip to content

Commit

Permalink
remove AI=none from API extension field
Browse files Browse the repository at this point in the history
  • Loading branch information
compujuckel committed Apr 22, 2024
1 parent 0861b01 commit ba3b3a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion AssettoServer/Server/Ai/AiBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ private void SetHttpDetailsExtensions()
{
_httpInfoCache.Extensions.Add("aiTraffic", new Dictionary<string, List<byte>>
{
{ "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() }
});
Expand Down

0 comments on commit ba3b3a2

Please sign in to comment.