NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
19 stars 13 forks source link

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

Closed nullsystem closed 3 months ago

nullsystem commented 3 months ago

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.