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

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

machiecodes
Copy link
Contributor

@machiecodes machiecodes commented Jan 9, 2025

Type of change

  • Bug fix
  • New feature

Description

Makes hud elements tick when they are in the editor as well as when active in-game to fix a bug with elements that set their size in the tick event. Previously if you disabled the element and restarted your game, the size of the element would be reduced to a 1x1 square and would not update unless you managed to click on it to re-enable it.

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
Courtesy of Crosby, force hud elements to be rendered/ticked properly if the hud editor is open
@Wide-Cat Wide-Cat merged commit 669aaa3 into MeteorDevelopment:master Jan 22, 2025
1 check passed
@machiecodes machiecodes deleted the tick-inactive-hud branch January 22, 2025 17:05
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.

2 participants