@@ -57,7 +57,7 @@ def get_player_loadout(path: str, team: int) -> flat.PlayerLoadout:
5757
5858
5959def get_player_config (
60- type : flat .RLBot | flat .Psyonix , team : int , path : Path | str
60+ type : flat .CustomBot | flat .Psyonix , team : int , path : Path | str
6161) -> flat .PlayerConfiguration :
6262 """
6363 Reads the bot toml file at the provided path and
@@ -198,21 +198,21 @@ def connect(
198198 * ,
199199 wants_match_communications : bool ,
200200 wants_ball_predictions : bool ,
201- close_after_match : bool = True ,
201+ close_between_matches : bool = True ,
202202 rlbot_server_port : int = RLBOT_SERVER_PORT ,
203203 ):
204204 """
205205 Connects to the RLBot server specifying the given settings.
206206
207207 - wants_match_communications: Whether match communication messages should be sent to this process.
208208 - wants_ball_predictions: Whether ball prediction messages should be sent to this process.
209- - close_after_match : Whether RLBot should close this connection between matches, specifically upon
209+ - close_between_matches : Whether RLBot should close this connection between matches, specifically upon
210210 `StartMatch` and `StopMatch` messages, since RLBot does not actually detect the ending of matches.
211211 """
212212 self .rlbot_interface .connect (
213213 wants_match_communications = wants_match_communications ,
214214 wants_ball_predictions = wants_ball_predictions ,
215- close_after_match = close_after_match ,
215+ close_between_matches = close_between_matches ,
216216 rlbot_server_port = rlbot_server_port ,
217217 )
218218
@@ -238,7 +238,7 @@ def start_match(
238238 self .rlbot_interface .connect (
239239 wants_match_communications = False ,
240240 wants_ball_predictions = False ,
241- close_after_match = False ,
241+ close_between_matches = False ,
242242 )
243243 self .rlbot_interface .run (background_thread = True )
244244
0 commit comments