Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spectator_hud: fix resolution change (#3506)
Spectator HUD has the callin for resolution change (ViewResize) correctly. However, the reInit() that is called never ends (re)getting the font. Therefore, after a resolution change, the widget crashes: Error in DrawGenesis(): [string "LuaUI/Widgets/gui_spectator_hud.lua"]:1252: attempt to use a deleted font Fix by moving font (re)initialization from Initialize() to init().
- Loading branch information