Skip to content

Commit c14a5ee

Browse files
committed
Use cwd upon main_executable_path being None
1 parent 1d7542c commit c14a5ee

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

rlbot/managers/match.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ def get_player_config(
7373
run_command = settings["run_command_linux"]
7474

7575
loadout_path = settings.get("loadout_config", None)
76-
77-
if loadout_path is None:
78-
loadout_path = settings.get("looks_config", None)
79-
if loadout_path is not None:
80-
DEFAULT_LOGGER.error("looks_config is deprecated, use loadout_config.")
81-
8276
if loadout_path is not None:
8377
loadout_path = parent / loadout_path
8478

@@ -133,7 +127,7 @@ def ensure_server_started(self, print_version_info: bool = True):
133127
return
134128

135129
if self.main_executable_path is None:
136-
raise Exception("No main_executable_path found. Please specify it.")
130+
self.main_executable_path = Path.cwd()
137131

138132
rlbot_server_process, self.rlbot_server_port = gateway.launch(
139133
self.main_executable_path,

0 commit comments

Comments
 (0)