We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stop_match
MatchManager
1 parent 74cf62e commit 7a0a6d7Copy full SHA for 7a0a6d7
rlbot/managers/match.py
@@ -174,6 +174,9 @@ def start_match(
174
def disconnect(self):
175
self.rlbot_interface.disconnect()
176
177
+ def stop_match(self):
178
+ self.rlbot_interface.stop_match()
179
+
180
def shut_down(self, ensure_shutdown=True):
181
self.logger.info("Shutting down RLBot...")
182
tests/run_only.py
@@ -10,4 +10,6 @@
10
if __name__ == "__main__":
11
match_manager = MatchManager(RLBOT_SERVER_FOLDER)
12
match_manager.start_match(MATCH_CONFIG_PATH, False)
13
+ input()
14
+ match_manager.stop_match()
15
match_manager.disconnect()
0 commit comments