ensure key assignments are handled for consumed/deleted items

This commit is contained in:
Llywelwyn 2023-10-05 01:05:00 +01:00
parent d11971126c
commit f3af75bf44
5 changed files with 25 additions and 2 deletions

View file

@ -477,6 +477,9 @@ pub struct EquipmentChanged {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct WantsToRemoveKey {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct WantsToDelete {}
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
pub struct Key {
pub idx: usize,