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

[TG Mirror] Fixes a bug with the scope getting stuck on mobs that get dusted or ghost [MDB IGNORE] #125

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#24404
Original PR: tgstation/tgstation#78941

About The Pull Request

If you ghost while mid-scope (or similarly, if you get dusted/your mob gets deleted) the mob's cursor would get all messed up due to some oversights. This just clears up some of these logic errors and ensures everything gets cleaned up properly.

Fixes Skyrat-SS13/Skyrat-tg#24189
Fixes tgstation/tgstation#78756

Why It's Good For The Game

Fixes a bug. I don't think scopes are even in use here but they are downstream.

Deleted and being dusted resets perspective and cursor properly

dreamseeker_SSU4YnEK4n

dreamseeker_GZEhuSJSGS

So does ghosting

dreamseeker_7n3uXZvDSI

Changelog

🆑 vinylspiders
fix: being killed or ghosting while being scoped will no longer cause the cursor offset to persist in a bugged state
/:cl:

…sted or ghost [MDB IGNORE] (#24404)

* Fixes a bug with the scope getting stuck on mobs that get dusted or ghost (#78941)

## About The Pull Request

If you ghost while mid-scope (or similarly, if you get dusted/your mob
gets deleted) the mob's cursor would get all messed up due to some
oversights. This just clears up some of these logic errors and ensures
everything gets cleaned up properly.

Fixes Skyrat-SS13/Skyrat-tg#24189
Fixes tgstation/tgstation#78756

## Why It's Good For The Game

Fixes a bug. I don't think scopes are even in use here but they are
downstream.

<details>
<summary>Deleted and being dusted resets perspective and cursor
properly</summary>

![dreamseeker_SSU4YnEK4n](https://github.com/Skyrat-SS13/Skyrat-tg/assets/13398309/dcaa5238-0067-4923-a956-24c6ba4aa2b3)

![dreamseeker_GZEhuSJSGS](https://github.com/Skyrat-SS13/Skyrat-tg/assets/13398309/2b88db21-6560-486d-94d3-9773fa543c50)

</details>

<details>
<summary>So does ghosting</summary>

![dreamseeker_7n3uXZvDSI](https://github.com/tgstation/tgstation/assets/13398309/08f6272d-baba-4e8e-ae0b-db23331982f7)

</details>

## Changelog

:cl:
fix: being killed or ghosting while being scoped will no longer cause
the cursor offset to persist in a bugged state
/:cl:

---------

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

* Fixes a bug with the scope getting stuck on mobs that get dusted or ghost

---------

Co-authored-by: Bloop <[email protected]>
Co-authored-by: san7890 <the@ san7890.com>
@AnywayFarus AnywayFarus merged commit 494be5e into master Oct 18, 2023
22 checks passed
FluffySSbot added a commit that referenced this pull request Oct 18, 2023
@AnywayFarus AnywayFarus deleted the upstream-mirror-24404 branch October 18, 2023 06:44
Iajret pushed a commit that referenced this pull request Dec 28, 2023
)

Adds turf checks for mercury & lithium random step logic. (#80586)

## About The Pull Request
- Fixes #74092

We not only want to make sure it's a turf but also a ground turf (i.e.
something you can stand on and not turfs like lava, water, space etc) so
you know you can use your legs to move on that ground.

## Changelog
:cl:
fix: mercury & lithium will no longer make you randomly move outside of
cryotubes or in ground less turfs (space, water, lava etc)
/:cl:

Co-authored-by: SyncIt21 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getting dusted while scoped in leaves you in a bugged state Vision can get stuck scoped
3 participants