66import psutil
77
88from rlbot import flat , version
9- from rlbot .interface import RLBOT_SERVER_PORT , SocketRelay
10- from rlbot .utils import gateway , fill_desired_game_state
9+ from rlbot .interface import RLBOT_SERVER_IP , RLBOT_SERVER_PORT , SocketRelay
10+ from rlbot .utils import fill_desired_game_state , gateway
1111from rlbot .utils .logging import DEFAULT_LOGGER
1212from rlbot .utils .os_detector import CURRENT_OS , MAIN_EXECUTABLE_NAME , OS
1313
@@ -199,6 +199,7 @@ def connect(
199199 wants_match_communications : bool ,
200200 wants_ball_predictions : bool ,
201201 close_between_matches : bool = True ,
202+ rlbot_server_ip : str = RLBOT_SERVER_IP ,
202203 rlbot_server_port : int = RLBOT_SERVER_PORT ,
203204 ):
204205 """
@@ -213,6 +214,7 @@ def connect(
213214 wants_match_communications = wants_match_communications ,
214215 wants_ball_predictions = wants_ball_predictions ,
215216 close_between_matches = close_between_matches ,
217+ rlbot_server_ip = rlbot_server_ip ,
216218 rlbot_server_port = rlbot_server_port ,
217219 )
218220
0 commit comments