Skip to content

Commit

Permalink
Ensure ball prediction is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Jun 22, 2024
1 parent 0694d3d commit c625daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RLBotCS/Server/FlatBuffersServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ private async Task HandleServer()
throw new InvalidOperationException("Server not initialized");
_context.Server.Start();

BallPredictor.SetMode(PredictionMode.Standard);

while (true)
{
TcpClient client = await _context.Server.AcceptTcpClientAsync();
Expand Down

0 comments on commit c625daf

Please sign in to comment.