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 smoothing breaking if a map is loaded post init #2040

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1021
Original PR: tgstation/tgstation#81526

About The Pull Request

We'd finish a set of atom creation, then try and smooth those atoms The problem is they might try and smooth with an uninitialized neighbor, which wouldn't have its smoothing vars parsed.

This fixes that by pooling "to be smoothed" things into a list based off the source of the init stoppage, which we then release when we're done.

Also fixes things staying in mapload, even during a sleep. This can cause massive headaches so it's good to avoid.

This has a cost but it's minuscule (on the order of like 0.006s (6ms over all of init), so I'm happy with it.

Why It's Good For The Game

Closes #77040

Changelog

🆑 LemonInTheDark
fix: Maps loaded in after roundstart will no longer have broken smoothing
/:cl:

* Fixes smoothing breaking if a map is loaded post init (#81526)

## About The Pull Request

We'd finish a set of atom creation, then try and smooth those atoms The
problem is they might try and smooth with an uninitialized neighbor,
which wouldn't have its smoothing vars parsed.

This fixes that by pooling "to be smoothed" things into a list based off
the source of the init stoppage, which we then release when we're done.

Also fixes things staying in mapload, even during a sleep. This can
cause massive headaches so it's good to avoid.

This has a cost but it's minuscule (on the order of like 0.006s (6ms
over all of init), so I'm happy with it.

## Why It's Good For The Game

Closes #77040

## Changelog
:cl:
fix: Maps loaded in after roundstart will no longer have broken
smoothing
/:cl:

* Fixes smoothing breaking if a map is loaded post init

---------

Co-authored-by: LemonInTheDark <[email protected]>
@Iajret Iajret merged commit 080b674 into master Feb 19, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-1021 branch February 19, 2024 17:56
AnywayFarus added a commit that referenced this pull request Feb 19, 2024
Iajret pushed a commit that referenced this pull request Apr 18, 2024
* Removes avatar earpiece [no gbp] (#82609)

## About The Pull Request
There's no comms in the digital plane anyway so this is only stopping
them from exploiting binary comms
## Why It's Good For The Game
Exploit fix
Fixes #82604
## Changelog
:cl:
fix: Bit avatars no longer have access to free binary comms with the AI
outfit
/:cl:

* Removes avatar earpiece [no gbp]

---------

Co-authored-by: Jeremiah <[email protected]>
ReezeBL pushed a commit that referenced this pull request Apr 18, 2024
* Removes avatar earpiece [no gbp] (#82609)

## About The Pull Request
There's no comms in the digital plane anyway so this is only stopping
them from exploiting binary comms
## Why It's Good For The Game
Exploit fix
Fixes #82604
## Changelog
:cl:
fix: Bit avatars no longer have access to free binary comms with the AI
outfit
/:cl:

* Removes avatar earpiece [no gbp]

---------

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