Skip to content

Allow path in load_player_config to be None#26

Merged
NicEastvillage merged 1 commit intomasterfrom
no_path
May 17, 2025
Merged

Allow path in load_player_config to be None#26
NicEastvillage merged 1 commit intomasterfrom
no_path

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)

@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.

2 participants