From: hgn Date: Mon, 17 Mar 2025 13:07:26 +0000 (+0000) Subject: Fix bug pressing escape menu while spawn transition X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;h=77bc318c122f3a0e24769ce2849af120a5871938;p=carveJwlIkooP6JGAAIwe30JlM.git Fix bug pressing escape menu while spawn transition --- diff --git a/src/menu.c b/src/menu.c index 5def867..2bb1016 100644 --- a/src/menu.c +++ b/src/menu.c @@ -880,6 +880,9 @@ void menu_gui( ui_context *ctx ) menu.bg_blur = 0; world_map_gui( ctx, (ui_rect){ 0, height, vg.window_x, vg.window_y - height }, mh, mv, &menu_backable_to_exit ); + + if( world_map.spawn_timer > 0.0f ) + menu_backable_to_exit = 0; } else /* menu.main_index != k_menu_main_map) */ {