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] Reverts reverted toast icons #494

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#24844
Original PR: tgstation/tgstation#79538

About The Pull Request

During the notify ghosts refactor I was unsure why we were creating a custom overlay for each ghost alert when new_master did the same. Turns out - it resets icons, which is useful here. This also caused #79415.

The original notify ghosts was performing this transformation operation O(n), which I've made O(1)

Why It's Good For The Game

Fixes #79415

Screenshot 2023-11-05 131336

Changelog

🆑 jlsnow301
fix: The screen alert should no longer break ghost UI when it's huge
/:cl:

* Reverts reverted toast icons (#79538)

## About The Pull Request
During the notify ghosts refactor I was unsure why we were creating a
custom overlay for each ghost alert when new_master did the same. Turns
out - it resets icons, which is useful here. This also caused #79415.

The original notify ghosts was performing this transformation operation
O(n), which I've made O(1)
## Why It's Good For The Game
Fixes #79415

![Screenshot 2023-11-05
131336](https://github.com/tgstation/tgstation/assets/42397676/c8b63b14-e1b8-48f5-b811-4c38ef1fa224)
## Changelog
:cl:
fix: The screen alert should no longer break ghost UI when it's huge
/:cl:

---------

Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>

* Reverts reverted toast icons

---------

Co-authored-by: Jeremiah <[email protected]>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
@Iajret Iajret merged commit b7ef1f8 into master Nov 7, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-24844 branch November 7, 2023 17:24
AnywayFarus added a commit that referenced this pull request Nov 7, 2023
Iajret pushed a commit that referenced this pull request Jan 17, 2024
* Removes timeout_mod arg from add_mood_effect

* Fix conflicts

---------

Co-authored-by: Bloop <[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