Skip to content

Allow path in load_player_config to be None #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

VirxEC
Copy link
Collaborator

@VirxEC VirxEC commented May 7, 2025

Reduces confusion when trying to include a Psyonix bot in a match. This PR allows load_player_config(None, flat.Psyonix(flat.PsyonixSkill.AllStar), 0) to work, which will result in PlayerConfiguration(variety=Psyonix(bot_skill=PsyonixSkill.AllStar), name="", team=0, root_dir="", run_command="", loadout=None, spawn_id=0, agent_id="", hivemind=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant