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

CODEBASE: Refactor Player.applyForJob #1947

Conversation

catloversg
Copy link
Contributor

Player.applyForJob and ns.singularity.applyToCompany (a caller of Player.applyForJob) have 2 problems:

  • Inconsistent error reports: Most errors are reported via dialogBoxCreate (non-singularity cases) except when the company does not offer the specified position. When it happens, the error is only printed to the console.
  • The singularity API does not state the reason why the player cannot apply.

This PR fixes these problems.

@d0sboots d0sboots merged commit de6b202 into bitburner-official:dev Feb 2, 2025
5 checks passed
@catloversg catloversg deleted the pull-request/codebase/refactor-Player.applyForJob branch February 2, 2025 17:46
antoinedube pushed a commit to antoinedube/bitburner-source that referenced this pull request Feb 5, 2025
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