mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
go back to main menu when logging out
Former-commit-id: 95956f916adb0afb47e489defa197f2b8e99b775
This commit is contained in:
parent
83ed5200b0
commit
85dda5e505
@ -67,7 +67,7 @@ impl PlayState for CharSelectionState {
|
||||
global_state.singleplayer = None;
|
||||
return PlayStateResult::Pop;
|
||||
},
|
||||
ui::Event::Play => return PlayStateResult::Push(
|
||||
ui::Event::Play => return PlayStateResult::Switch(
|
||||
Box::new(SessionState::new(&mut global_state.window, self.client.clone()))
|
||||
),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user