mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix crash on server list entry deletion
This commit is contained in:
parent
126f9f8502
commit
15eeab7405
@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Charm recipes can now be found in the Potions tab of the crafting menu
|
||||
- Black minimap when some terrain blocks are deleted.
|
||||
- Text overflow and flickering in the crafting menu.
|
||||
- Crash when deleting entries from the server list.
|
||||
|
||||
## [0.16.0] - 2024-03-30
|
||||
|
||||
|
@ -583,6 +583,7 @@ impl Controls {
|
||||
Message::DeleteServer => {
|
||||
if let Some(server_index) = self.selected_server_index {
|
||||
events.push(Event::DeleteServer { server_index });
|
||||
self.selected_server_index = None;
|
||||
}
|
||||
},
|
||||
/* Note: Keeping in case we re-add the disclaimer */
|
||||
|
Loading…
Reference in New Issue
Block a user