File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -220,4 +220,5 @@ def update_controls(self, action: np.ndarray):
220220
221221
222222if __name__ == "__main__" :
223- Necto ().run (wants_match_communications = False , wants_ball_predictions = False )
223+ Necto ("rlgym/necto" ).run (wants_match_communications = False , wants_ball_predictions = False )
224+ # Necto("rlgym/necto").run(wants_match_communications=False)
Original file line number Diff line number Diff line change 1+ import sys
12from pathlib import Path
23
34from rlbot .managers import MatchManager
89RLBOT_SERVER_FOLDER = DIR / "../"
910
1011if __name__ == "__main__" :
12+ match_config_path = MATCH_CONFIG_PATH
13+ if len (sys .argv ) > 1 :
14+ match_config_path = Path (sys .argv [1 ])
15+ assert match_config_path .exists (), f"Match config not found: { match_config_path } "
16+
1117 # start the match
1218 match_manager = MatchManager (RLBOT_SERVER_FOLDER )
13- match_manager .start_match (MATCH_CONFIG_PATH , False )
19+ match_manager .start_match (match_config_path , False )
1420
1521 # wait
1622 input ("\n Press enter to end the match: " )
You can’t perform that action at this time.
0 commit comments