mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Hack to make salvage go away when leaving station.
This commit is contained in:
parent
fef9fd5893
commit
15a8c31383
@ -668,6 +668,7 @@ impl Show {
|
||||
self.bag = open;
|
||||
self.map = false;
|
||||
self.want_grab = !open;
|
||||
self.salvage = false;
|
||||
|
||||
if !open {
|
||||
self.crafting = false;
|
||||
@ -689,6 +690,7 @@ impl Show {
|
||||
self.map = open;
|
||||
self.bag = false;
|
||||
self.crafting = false;
|
||||
self.salvage = false;
|
||||
self.social = false;
|
||||
self.diary = false;
|
||||
self.want_grab = !open;
|
||||
@ -714,6 +716,7 @@ impl Show {
|
||||
self.search_crafting_recipe(None);
|
||||
}
|
||||
self.crafting = open;
|
||||
self.salvage = false;
|
||||
self.bag = open;
|
||||
self.map = false;
|
||||
self.want_grab = !open;
|
||||
@ -736,6 +739,7 @@ impl Show {
|
||||
if !self.esc_menu {
|
||||
self.social = false;
|
||||
self.crafting = false;
|
||||
self.salvage = false;
|
||||
self.bag = false;
|
||||
self.map = false;
|
||||
self.diary = open;
|
||||
@ -753,6 +757,7 @@ impl Show {
|
||||
self.bag = false;
|
||||
self.social = false;
|
||||
self.crafting = false;
|
||||
self.salvage = false;
|
||||
self.diary = false;
|
||||
self.want_grab = !open;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user