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

Merged
merged 1 commit into from
May 17, 2025
Merged

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)

Verified

This commit was signed with the committer’s verified signature.
VirxEC Eric Veilleux
@NicEastvillage NicEastvillage merged commit d43cb93 into master May 17, 2025
@VirxEC VirxEC deleted the no_path branch May 17, 2025 19:35
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.

None yet

2 participants