Skip to content
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

Fix rotating party lead after battle #617

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented Jan 13, 2025

Description

The default battle handler's choose_new_lead_after_battle() method tried to use an instance of BattleStrategyUtil that was never initialised.

This led to an exception whenever the game tried to rotate the lead after a battle.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

The default battle handler's `choose_new_lead_after_battle()` method tried to use an instance of `BattleStrategyUtil` that was never initialised.
@pekempy pekempy merged commit 905530a into 40Cakes:main Jan 13, 2025
1 check passed
@hanzi hanzi deleted the fix-rotate-lead-after-battle branch January 13, 2025 15:53
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