mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Make so that the resume button doesn't eject the mouse
This commit is contained in:
parent
2024718ad1
commit
3f1f9b9ab0
@ -1948,8 +1948,8 @@ impl Hud {
|
||||
},
|
||||
Some(esc_menu::Event::Close) => {
|
||||
self.show.esc_menu = false;
|
||||
self.show.want_grab = false;
|
||||
self.force_ungrab = true;
|
||||
self.show.want_grab = true;
|
||||
self.force_ungrab = false;
|
||||
|
||||
// Unpause the game if we are on singleplayer
|
||||
if let Some(singleplayer) = global_state.singleplayer.as_ref() {
|
||||
|
Loading…
Reference in New Issue
Block a user