8000 Fix overriden mindhack removal by JORJ949 · Pull Request #23765 · goonstation/goonstation · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix overriden mindhack removal #23765

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

JORJ949
Copy link
Contributor
@JORJ949 JORJ949 commented Jun 7, 2025

About the PR

Fixes mindhack status being removed on the removal of an implant that has been overriden
Also move deluxe implant back up to with the regular one instead of marionette separating them.

Why's this needed?

The first surgically remove implant is always the oldest one (at least in testing) meaning the newer, actually active implant is disabled despite still being present in the player, only the most recently implanted mindhack implant will be considered "active" and remove the antag status on implant removal.

Fixes #23766

Testing

Tested with commenting out the client check and giving a dummy a mind.
Before: Antag status is removed on the first implant surgically removed.
After: Antag status is removed on the most recently implanted implant being removed.

@github-actions github-actions bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 7, 2025
@keywordlabeler keywordlabeler bot added the C-Bug A bug that impacts usage of a feature label Jun 7, 2025
@JORJ949 JORJ949 added the A-Game-Objects The point of this PR is to deal with a specific game object label Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Game-Objects The point of this PR is to deal with a specific game object C-Bug A bug that impacts usage of a feature size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Removing an overriden mindhack implant removes antag status
1 participant
0