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] Prevents something fucky with elevation and glass tables #1083

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25567
Original PR: tgstation/tgstation#80187

About The Pull Request

Objects can be destroyed during a movement loop before the abstract entered signal can be sent, so we need to make sure only mobs that have been elevated are dropped down.

Why It's Good For The Game

Fixes #80169

Changelog

🆑 Ghommie
fix: climbing or being shoved into a glass table won't cause elevation issues.
/:cl:

…B IGNORE] (#25567)

* Prevents something fucky with elevation and glass tables (#80187)

## About The Pull Request
Objects can be destroyed during a movement loop before the abstract
entered signal can be sent, so we need to make sure only mobs that have
been elevated are dropped down.

## Why It's Good For The Game
Fixes #80169

## Changelog

:cl:
fix: climbing or being shoved into a glass table won't cause elevation
issues.
/:cl:

---------

Co-authored-by: san7890 <the@ san7890.com>

* Prevents something fucky with elevation and glass tables

---------

Co-authored-by: Ghom <[email protected]>
Co-authored-by: san7890 <the@ san7890.com>
@Iajret Iajret merged commit 6a0be67 into master Dec 12, 2023
22 of 23 checks passed
@Iajret Iajret deleted the upstream-mirror-25567 branch December 12, 2023 23:20
AnywayFarus added a commit that referenced this pull request Dec 12, 2023
Iajret pushed a commit that referenced this pull request Feb 21, 2024
…efs to not function (#1083)

* Fix dead mobs changing their mob `tag` causing obsever weakrefs to not function (#81585)

## About The Pull Request

Fixes #81578 
Fixes #81559
Fixes #81308

In #69634 mob tag generation was moved to `/mob/New`

But dead mobs also do this in initialize


![image](https://github.com/tgstation/tgstation/assets/51863163/ac5cc2fa-2360-4a5d-b992-0fe43e4f6122)

So dead mobs skipped over a tag

This is whatever, until it's not: 

If something makes a weakref of an observer in `/observer/Initialize`
before its parent call, which shuffles the mob tag around, uh oh now our
weakref points to a non-existent ref!

So what's making the weakref? No clue but apparently chasms

## Changelog

:cl: Melbert
fix: Chasms no longer break your verbs
/:cl:

* Fix dead mobs changing their mob `tag` causing obsever weakrefs to not function

---------

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