Remove Exit game button for HTML5
This commit is contained in:
@@ -397,9 +397,11 @@ void drawMainMenuUI(Game *game, f32 dt) {
|
|||||||
if (uiMainMenuButton("Settings", true)) {
|
if (uiMainMenuButton("Settings", true)) {
|
||||||
setScreen(game, SCREEN_SETTINGS);
|
setScreen(game, SCREEN_SETTINGS);
|
||||||
}
|
}
|
||||||
|
#ifndef EMSCRIPTEN
|
||||||
if (uiMainMenuButton("Exit", true)) {
|
if (uiMainMenuButton("Exit", true)) {
|
||||||
bzGameExit();
|
bzGameExit();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
bzUIPopParent(UI);
|
bzUIPopParent(UI);
|
||||||
bzUIEnd(UI);
|
bzUIEnd(UI);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user