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

make RefreshOverlay default to the player session #32354

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

MilonPL
Copy link
Contributor

@MilonPL MilonPL commented Sep 21, 2024

About the PR

Changes the EquipmentHudSystem.cs default to the player instead of exiting.

makes it actually good, made the event a struct raised by ref, relayed by ref, etc etc, something something coding conventions

Why / Balance

Bug fix. If you remove the component from a HUD that's being actively worn by a player, it doesn't actually update the overlay. Even worse, it only updates once you put on another item with an overlay, not on unequip.

Technical details

if player exists, set the uid, else return
previously would check if the uid matches the player or else return

Requirements

Breaking changes

none

Changelog

no fun

@SlamBamActionman SlamBamActionman added the S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. label Nov 14, 2024
@eoineoineoin eoineoineoin added T: Bugfix Type: Bugs and/or bugfixes P3: Standard Priority: Default priority for repository items. D3: Low Difficulty: Some codebase knowledge required. S: Needs Review Status: Requires additional reviews before being fully accepted A: General Interactions Area: General in-game interactions that don't relate to another area. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Nov 22, 2024
@metalgearsloth metalgearsloth added S: Awaiting Changes Status: Changes are required before another review can happen and removed S: Needs Review Status: Requires additional reviews before being fully accepted labels Nov 23, 2024
@github-actions github-actions bot added size/S Denotes a PR that changes 10-99 lines. S: Needs Review Status: Requires additional reviews before being fully accepted and removed S: Awaiting Changes Status: Changes are required before another review can happen labels Nov 23, 2024
Copy link
Contributor

@beck-thompson beck-thompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it and yep fixes that bug! Great change 🫡

@beck-thompson beck-thompson added the S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. label Jan 30, 2025
@metalgearsloth metalgearsloth merged commit 3a51f11 into space-wizards:master Jan 30, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: General Interactions Area: General in-game interactions that don't relate to another area. D3: Low Difficulty: Some codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Approved Status: Reviewed and approved by at least one maintainer; a PR may require another approval. S: Needs Review Status: Requires additional reviews before being fully accepted size/S Denotes a PR that changes 10-99 lines. T: Bugfix Type: Bugs and/or bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants