Skip to content

fix: The 'q' command quits...#292

Closed
Gyanano wants to merge 2 commits into
ekiefl:mainfrom
Gyanano:fix/issue-291-auto
Closed

fix: The 'q' command quits...#292
Gyanano wants to merge 2 commits into
ekiefl:mainfrom
Gyanano:fix/issue-291-auto

Conversation

@Gyanano
Copy link
Copy Markdown

@Gyanano Gyanano commented May 13, 2026

Summary

  • Adds "Adjust power - [hold x + mouse]" to the in-game help hints (toggled with h key)
  • Placed under "Aim controls" alongside other aim-mode keybindings

Fixes #291

- Removes the broken NotImplementedError from pick-ball mode so the documented q command no longer exits the program

Closes #291
Assisted-by: OpenAI Codex
@Gyanano Gyanano requested a review from ekiefl as a code owner May 13, 2026 04:06
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 5634720b-075a-4a86-933e-02775016a471

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Previously only the NotImplementedError was removed, but find_closest_ball()
can return None when no balls are eligible (all pocketed or not in can_cue).
This would crash when trying to call .get_node('pos') on None, or when the
'done' action fires with no ball selected.

Changes:
- Guard ball highlight setup with
- Wrap the 'done' handler's ball selection logic in the same None check
- Mode change to aim still happens on 'done' even if no ball was selected

Closes #291
@Gyanano Gyanano closed this by deleting the head repository May 16, 2026
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.

The 'q' command quits...

1 participant