mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changelog and small fix
This commit is contained in:
parent
b9a66a93b7
commit
053458c2e3
@ -44,6 +44,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- German translation
|
- German translation
|
||||||
- Added a silhouette for players when they are occluded
|
- Added a silhouette for players when they are occluded
|
||||||
- Added transparency to the player when zooming in
|
- Added transparency to the player when zooming in
|
||||||
|
- Made armor and hotbar slots actually function
|
||||||
|
- Added dragging and right-click to use functionality to inventory, armor, & hotbar slotskillbars
|
||||||
|
- Added capes, lanterns, and more armor items
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
@ -174,11 +174,7 @@ pub fn handle_inventory(server: &mut Server, entity: EcsEntity, manip: comp::Inv
|
|||||||
};
|
};
|
||||||
|
|
||||||
if reinsert {
|
if reinsert {
|
||||||
let _ = state
|
let _ = inventory.insert(slot, item);
|
||||||
.ecs()
|
|
||||||
.write_storage::<comp::Inventory>()
|
|
||||||
.get_mut(entity)
|
|
||||||
.map(|inv| inv.insert(slot, item));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Some(comp::InventoryUpdateEvent::Used)
|
Some(comp::InventoryUpdateEvent::Used)
|
||||||
|
Loading…
Reference in New Issue
Block a user