Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spectator_hud: move to layer 2 (#3505)
* spectator_hud: move to layer 2 Spectator HUD enables/disables ecostats depending on the amount of ally teams in the game. If there are exactly two teams (in addition to Gaia), then Spectator HUD is enabled. If there are not exactly two teams, i.e. it's an FFA game, then Ecostats is enabled. However, this logic requires we make sure the Initialize() of Spectator HUD runs after Ecostats. If the widgets are in the same layer or Spectator HUD is on an earlier layer, both Spectator HUD and Ecostats are enabled at the same time after loading a FFA game. * Update luaui/Widgets/gui_spectator_hud.lua Co-authored-by: sprunk <[email protected]> --------- Co-authored-by: sprunk <[email protected]>
- Loading branch information