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

Small Hud Fix #5098

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

Conversation

machiecodes
Copy link
Contributor

@machiecodes machiecodes commented Jan 9, 2025

Type of change

  • Bug fix
  • New feature

Description

Removes the active check from ticking hud elements, this fixes a bug with hud elements that set their size in the ontick event. Previously if a hud element was disabled with this behavior, after opening the game the size of the element would not be updated and be reduced to a 1x1 square until you managed to click on it to reenable.

Related issues

N/A

How Has This Been Tested?

Tested via disabling potion hud, active modules hud and closing/reopening the game. Sizing updates correctly, no noticeable issues

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

Yippee
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