mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Show disclaimer once
Former-commit-id: f4937dba2caca207b02deb18ad209a8435e65b61
This commit is contained in:
@ -117,6 +117,9 @@ impl PlayState for MainMenuState {
|
||||
return PlayStateResult::Push(Box::new(StartSingleplayerState::new()));
|
||||
}
|
||||
MainMenuEvent::Quit => return PlayStateResult::Shutdown,
|
||||
MainMenuEvent::DisclaimerClosed => {
|
||||
global_state.settings.show_disclaimer = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user