diff --git a/game/systems/s_ui.c b/game/systems/s_ui.c index 758d02c..75f8d02 100644 --- a/game/systems/s_ui.c +++ b/game/systems/s_ui.c @@ -397,9 +397,11 @@ void drawMainMenuUI(Game *game, f32 dt) { if (uiMainMenuButton("Settings", true)) { setScreen(game, SCREEN_SETTINGS); } +#ifndef EMSCRIPTEN if (uiMainMenuButton("Exit", true)) { bzGameExit(); } +#endif bzUIPopParent(UI); bzUIEnd(UI); }