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 random CI error #2128

Merged
merged 1 commit into from
Feb 26, 2024
Merged

[MIRROR] Fixes random CI error #2128

merged 1 commit into from
Feb 26, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1134
Original PR: tgstation/tgstation#81657

About The Pull Request

Closes tgstation/tgstation#81329
Closes tgstation/tgstation#81538

I made some improvements to tactical and twohanded in general, but here's the fixes I made:

  • Two-handed now unregisters signals for fantasy bonuses
  • Tactical was registering signals for update icons, which in the case of kirbyplants was called every time the item was picked up due to two-handed's update_appearance call, so every time you picked up the plant it would actually register signals twice, applying overlays twice, etc. I removed the signal to update icon because it didn't really make sense, we update on equip/move/z move, which should be all the cases we need.

For some reason someone made Monkeys able to hold two-handed items now, and it appears that in monkey business a monkey can try to pick up a kirby plant, causing this CI error to be sporadic.

Why It's Good For The Game

Fixes a CI error by removing a useless signal that was causing kirby plants to register a bunch of signals twice over every time you picked one up.

monkeybusiness

Changelog

Nothing player facing.

* Fixes random CI error (#81657)

## About The Pull Request

Closes tgstation/tgstation#81329
Closes tgstation/tgstation#81538

I made some improvements to tactical and twohanded in general, but
here's the fixes I made:
- Two-handed now unregisters signals for fantasy bonuses
- Tactical was registering signals for update icons, which in the case
of kirbyplants was called every time the item was picked up due to
two-handed's ``update_appearance`` call, so every time you picked up the
plant it would actually register signals twice, applying overlays twice,
etc. I removed the signal to update icon because it didn't really make
sense, we update on equip/move/z move, which should be all the cases we
need.

For some reason someone made Monkeys able to hold two-handed items now,
and it appears that in monkey business a monkey can try to pick up a
kirby plant, causing this CI error to be sporadic.

## Why It's Good For The Game

Fixes a CI error by removing a useless signal that was causing kirby
plants to register a bunch of signals twice over every time you picked
one up.


![monkeybusiness](https://github.com/tgstation/tgstation/assets/53777086/e4daea46-7eb3-4092-b452-82a85ac33c9c)

## Changelog

Nothing player facing.

* Fixes random CI error

---------

Co-authored-by: John Willard <[email protected]>
@Iajret Iajret merged commit 8b75a3d into master Feb 26, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1134 branch February 26, 2024 09:33
Iajret pushed a commit that referenced this pull request Apr 22, 2024
…2128)

* Allows vv investigate /appearance + better checking image (#82670)

* Allows vv investigate /appearance + better checking image

---------

Co-authored-by: EvilDragonfiend <[email protected]>
ReezeBL pushed a commit that referenced this pull request Apr 22, 2024
…2128) (#3013)

* Allows vv investigate /appearance + better checking image (#82670)

* Allows vv investigate /appearance + better checking image

---------

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