projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fd52d2
)
Fix bug pressing escape menu while spawn transition
author
hgn
<hgodden00@gmail.com>
Mon, 17 Mar 2025 13:07:26 +0000
(13:07 +0000)
committer
hgn
<hgodden00@gmail.com>
Mon, 17 Mar 2025 13:07:26 +0000
(13:07 +0000)
src/menu.c
patch
|
blob
|
history
diff --git
a/src/menu.c
b/src/menu.c
index 5def867e18ca67ce2d5ef6bd7ec16ae99bc97930..2bb1016cfb9871f86dcdc69a754dd348047e2bdf 100644
(file)
--- 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) */
{