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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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

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.

1 participant