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] Fix build mode preview spawning atoms needlessly #1012

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25476
Original PR: tgstation/tgstation#80130

Before the large icon fix, it would use a mutable_appearance, get_small_overlay wants atoms but it only does appearance things with them so images and mutable appearances should work. There is no need to spawn the atom itself.

We will at some point need a way to specify interfaces as argument types, many such cases of atom or image or mutable_appearance in icon related procs.

closes #80125

…] (#25476)

* Fix build mode preview spawning atoms needlessly (#80130)

Before the large icon fix, it would use a mutable_appearance,
get_small_overlay wants atoms but it only does appearance things with
them so images and mutable appearances should work. There is no need to
spawn the atom itself.

We will at some point need a way to specify interfaces as argument
types, many such cases of atom or image or mutable_appearance in icon
related procs.

closes #80125

* Fix build mode preview spawning atoms needlessly

---------

Co-authored-by: Kyle Spier-Swenson <[email protected]>
@Iajret Iajret merged commit b7b32fc into master Dec 7, 2023
23 checks passed
@Iajret Iajret deleted the upstream-mirror-25476 branch December 7, 2023 11:24
Iajret pushed a commit that referenced this pull request Feb 17, 2024
* Adds a proper skeletal rack subtype (#81484)

## About The Pull Request

This is mapped in a few places and I thought it would be better to have
a subtype of rack to use rather than varediting the icon and state.

## Why It's Good For The Game

The less varedited icons the better imo, it's way easier to ensure icons
aren't fucked up this way and easier to fix too.

## Changelog

No player-facing changes.

* Adds a proper skeletal rack subtype

---------

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