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 an issue with strip menus making duplicate windows #2470

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1515
Original PR: tgstation/tgstation#82055

About The Pull Request

Fixes an oversight in #57889, where the strip_menus list is set, but never accessed, leading to whenever you drag to open the menu, it always opens a new window.

Why It's Good For The Game

Noticed this while porting the TGUI strip menu, and I figured I should fix it here too. From the design of the strippable element, it seems that this was the original design, but somehow got lost along the way.

Changelog

🆑 Contrabang
Fix: Opening a mob's strip menu multiple times will now properly update the window.
/:cl:

)

* Fixes an issue with strip menus making duplicate windows (#82055)

## About The Pull Request
Fixes an oversight in #57889, where the strip_menus list is set, but
never accessed, leading to whenever you drag to open the menu, it always
opens a new window.

## Why It's Good For The Game
Noticed this while porting the TGUI strip menu, and I figured I should
fix it here too. From the design of the strippable element, it seems
that this was the original design, but somehow got lost along the way.

## Changelog
:cl:
Fix: Opening a mob's strip menu multiple times will now properly update
the window.
/:cl:

* Fixes an issue with strip menus making duplicate windows

---------

Co-authored-by: Contrabang <[email protected]>
@ReezeBL ReezeBL merged commit 5e18cd5 into master Mar 20, 2024
24 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1515 branch March 20, 2024 07:23
Iajret pushed a commit that referenced this pull request May 15, 2024
* allows the SC/FISHER to shoot floor lights (#83182)

## About The Pull Request
Lowers the hit threshold layer of SC/FISHER bolts from
`PROJECTILE_HIT_THRESHHOLD_LAYER` (2.75) to `LOW_OBJ_LAYER` (2.5),
allowing you to shoot floor lights with it.

## Why It's Good For The Game
floor lights count as lightbulbs and therefore you should be able to
explode them with the gun that explodes lightbulbs

## Changelog

:cl:
fix: The SC/FISHER can now shoot floor lights.
/:cl:

Co-authored-by: Hatterhat <[email protected]>

* allows the SC/FISHER to shoot floor lights

---------

Co-authored-by: Hatterhat <[email protected]>
Co-authored-by: Hatterhat <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
ReezeBL pushed a commit that referenced this pull request May 15, 2024
* allows the SC/FISHER to shoot floor lights (#83182)

## About The Pull Request
Lowers the hit threshold layer of SC/FISHER bolts from
`PROJECTILE_HIT_THRESHHOLD_LAYER` (2.75) to `LOW_OBJ_LAYER` (2.5),
allowing you to shoot floor lights with it.

## Why It's Good For The Game
floor lights count as lightbulbs and therefore you should be able to
explode them with the gun that explodes lightbulbs

## Changelog

:cl:
fix: The SC/FISHER can now shoot floor lights.
/:cl:



* allows the SC/FISHER to shoot floor lights

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Hatterhat <[email protected]>
Co-authored-by: Hatterhat <[email protected]>
Co-authored-by: NovaBot13 <[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.

3 participants