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 envelope & reagent holder interaction #2994

Closed
wants to merge 2 commits into from

Conversation

NaakaKo
Copy link
Collaborator

@NaakaKo NaakaKo commented Mar 21, 2024

Original PR: https://api.github.com/repos/tgstation/tgstation/pulls/82127

About The Pull Request

  • Fixes #82122

This is a 2 part fix.

  • Reagent holders (cup & syringe the only cases i can find) will update the target appearance only when their action succeeds. This way they don't cause items like envelops to update after every interaction.
  • Envelope returns the stamp overlay in the return value of update_overlays() rather than calling add_overlay() so their overlays don't add up but rather get removed & replaced correctly.

Changelog

🆑
fix: reagent containers like cup & syringe only update target appearance if action was successful.
fix: envelops don't stack overlays when interacting with cup & syringes.
/:cl:

SyncIt21 and others added 2 commits March 21, 2024 21:04
## About The Pull Request
- Fixes #82122

This is a 2 part fix.
- Reagent holders (cup & syringe the only cases i can find) will update
the target appearance only when their action succeeds. This way they
don't cause items like envelops to update after every interaction.
- Envelope returns the stamp overlay in the return value of
`update_overlays()` rather than calling `add_overlay()` so their
overlays don't add up but rather get removed & replaced correctly.

## Changelog
:cl:
fix: reagent containers like cup & syringe only update target appearance
if action was successful.
fix: envelops don't stack overlays when interacting with cup & syringes.
/:cl:
@NaakaKo NaakaKo added the Upstream PR Merged Used by the mirror bot. label Mar 21, 2024
@CliffracerX CliffracerX closed this Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upstream PR Merged Used by the mirror bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants