Skip to content

neo_hud health/compass/ammo need to change to EditablePanel #367

@nullsystem

Description

@nullsystem

Currently, on initialization, hud_reloadscheme is a forced to call by both the health and ammo huds. The main intention of these is so the customization from scripts/HudLayout.res gets applied, however these panels should really instead be using EditablePanel as the inherited panel class instead of just Panel as EditablePanel provides the utility to apply those res settings instead. There are visible issue that came around from this, mostly the MOTD panel resetting the data and making look like the MOTD didn't get applied when its really just resetted after it applied.

Metadata

Metadata

Assignees

Labels

Minor bugsStuff that we might want to document is fixed but doesn't fit elsewhere. No bounty on this category.RefactorCode refactor

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions