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 an odd bug with record consoles #2495

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1550
Original PR: tgstation/tgstation#82103

About The Pull Request

  1. Record computers never had character_preview_view set because it was never returned, and it was additionally never deleted. This caused an odd bug that, if you joined a round, ghosted, sent yourself back to lobby, then rejoined, record consoles would no longer have a character preview view. This fixes that, and also adds a define because I didn't like the copypasta it had going on.

Security records currently have a big difference from the previous version in that every person on the UI sees their own thing (it's local instead of shared), which is a bigger problem that affects the whole computer and really should be addressed.

This PR compliments tgstation/tgstation#82105 - This was a bug I found while working on that.

Why It's Good For The Game

Fixes an odd bug with security records that I've been trying to find out the cause to for a while.

Changelog

🆑 JohnFulpWillard
fix: Clients joining a round twice as a crewmember (via admins or otherwise) no longer break security/medical record consoles permanently.
/:cl:

* Fixes an odd bug with record consoles (#82103)

## About The Pull Request

1. Record computers never had ``character_preview_view`` set because it
was never returned, and it was additionally never deleted. This caused
an odd bug that, if you joined a round, ghosted, sent yourself back to
lobby, then rejoined, record consoles would no longer have a character
preview view. This fixes that, and also adds a define because I didn't
like the copypasta it had going on.

Security records currently have a big difference from the previous
version in that every person on the UI sees their own thing (it's local
instead of shared), which is a bigger problem that affects the whole
computer and really should be addressed.

This PR compliments tgstation/tgstation#82105 -
This was a bug I found while working on that.

## Why It's Good For The Game

Fixes an odd bug with security records that I've been trying to find out
the cause to for a while.

## Changelog

:cl:
fix: Clients joining a round twice as a crewmember (via admins or
otherwise) no longer break security/medical record consoles permanently.
/:cl:

* Fixes an odd bug with record consoles

---------

Co-authored-by: John Willard <[email protected]>
@ReezeBL ReezeBL merged commit e24c76c into master Mar 22, 2024
24 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1550 branch March 22, 2024 07:02
AnywayFarus added a commit that referenced this pull request Mar 22, 2024
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