From 80df7758ccaa73ca367b6867d9ad3806ce635322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 11 Sep 2022 20:29:25 +0000 Subject: [PATCH] hide exit button in web build --- code/game/src/debug_ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/src/debug_ui.c b/code/game/src/debug_ui.c index d6001ee..22b654d 100644 --- a/code/game/src/debug_ui.c +++ b/code/game/src/debug_ui.c @@ -226,11 +226,13 @@ static debug_item items[] = { .is_collapsed = 1 } }, +#if !defined(PLATFORM_WEB) { .kind = DITEM_BUTTON, .name = "exit game", .on_click = ActExitGame, }, +#endif {.kind = DITEM_END}, };