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)) {
|
||||
setScreen(game, SCREEN_SETTINGS);
|
||||
}
|
||||
#ifndef EMSCRIPTEN
|
||||
if (uiMainMenuButton("Exit", true)) {
|
||||
bzGameExit();
|
||||
}
|
||||
#endif
|
||||
bzUIPopParent(UI);
|
||||
bzUIEnd(UI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user