summaryrefslogtreecommitdiffstats
path: root/game/client/game.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-05-27 16:35:41 +0500
committeruntodesu <kirill@untode.su>2025-05-27 16:35:41 +0500
commitadbbe24b0941c369d52461418cef206fc895168e (patch)
tree349141c1e81f1d1113d8bbd96525ff2cf37d691b /game/client/game.cc
parent29da2327c990ef0ad4347b0067f4556030bbb3dc (diff)
downloadvoxelius-adbbe24b0941c369d52461418cef206fc895168e.tar.bz2
voxelius-adbbe24b0941c369d52461418cef206fc895168e.zip
GUI updates
- Update ImGui to latest release (v1.91.9b) - Fixup splash using a deprecated ImGui function - Hide some settings tabs when not available - Fix sound config values getting trashed whenever sound system cannot be initialized
Diffstat (limited to 'game/client/game.cc')
-rw-r--r--game/client/game.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/client/game.cc b/game/client/game.cc
index c1d3fa8..d6d1886 100644
--- a/game/client/game.cc
+++ b/game/client/game.cc
@@ -342,6 +342,8 @@ void client_game::init(void)
globals::gui_scale = 0U;
globals::gui_screen = GUI_MAIN_MENU;
+ sound::init_config();
+
if(globals::sound_ctx) {
sound::init();
}