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

[MIRROR] Fixes ejecting pAIs card without a pAI in it #1659

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#578
Original PR: tgstation/tgstation#81047

About The Pull Request

I had made the bad assumption that a pAI card always had a pAI mob in it, which is not the case.
This fixes the runtime error, thus allowing people to eject a pAI card that doesn't have a pAI in it.
I've also added a check in the pAI's Initialize to give them the ability to use the modPC if they are made in it, so you don't have to eject and reinsert the pAI, fixing another issue.

Why It's Good For The Game

Closes tgstation/tgstation#81043
Fixes inconsistency and runtime.

Changelog

🆑 JohnFulpWillard
fix: pAIs downloaded while in a PDA now gets the action button to control said PDA.
fix: pAI cards can now be ejected from a PDA when there is no pAI inhabiting it.
/:cl:

* Fixes ejecting pAIs card without a pAI in it (#81047)

## About The Pull Request

I had made the bad assumption that a pAI card always had a pAI mob in
it, which is not the case.
This fixes the runtime error, thus allowing people to eject a pAI card
that doesn't have a pAI in it.
I've also added a check in the pAI's Initialize to give them the ability
to use the modPC if they are made in it, so you don't have to eject and
reinsert the pAI, fixing another issue.

## Why It's Good For The Game

Closes tgstation/tgstation#81043
Fixes inconsistency and runtime.

## Changelog

:cl:
fix: pAIs downloaded while in a PDA now gets the action button to
control said PDA.
fix: pAI cards can now be ejected from a PDA when there is no pAI
inhabiting it.
/:cl:

* Fixes ejecting pAIs card without a pAI in it

---------

Co-authored-by: John Willard <[email protected]>
@Iajret Iajret merged commit b2c995b into master Jan 24, 2024
23 checks passed
@Iajret Iajret deleted the upstream-mirror-578 branch January 24, 2024 17:39
AnywayFarus added a commit that referenced this pull request Jan 24, 2024
Iajret pushed a commit that referenced this pull request Mar 27, 2024
* Fixes starting self surgery (#82255)

## About The Pull Request

Fixes being unable to start self-surgery while laying down.

Closes tgstation/tgstation#82034

## Changelog

:cl: LT3
fix: Fixed being unable to start self surgery
/:cl:

* Fixes starting self surgery

---------

Co-authored-by: lessthanthree <[email protected]>
ReezeBL pushed a commit that referenced this pull request Mar 27, 2024
* Fixes starting self surgery (#82255)

## About The Pull Request

Fixes being unable to start self-surgery while laying down.

Closes tgstation/tgstation#82034

## Changelog

:cl: LT3
fix: Fixed being unable to start self surgery
/:cl:

* Fixes starting self surgery

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: lessthanthree <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Eject pAI" button in PDA does not work.
3 participants