Remove Exit game button for HTML5

This commit is contained in:
2024-02-12 15:45:34 +01:00
parent f0332465ef
commit a254b3f410

View File

@@ -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);
}