hide exit button in web build

isolation_bkp/dynres
Dominik Madarász 2022-09-11 20:29:25 +00:00 committed by GitHub
parent f97de43881
commit 80df7758cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -226,11 +226,13 @@ static debug_item items[] = {
.is_collapsed = 1 .is_collapsed = 1
} }
}, },
#if !defined(PLATFORM_WEB)
{ {
.kind = DITEM_BUTTON, .kind = DITEM_BUTTON,
.name = "exit game", .name = "exit game",
.on_click = ActExitGame, .on_click = ActExitGame,
}, },
#endif
{.kind = DITEM_END}, {.kind = DITEM_END},
}; };