summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-02-11 01:40:44 +0100
committertroido <troido@protonmail.com>2020-02-11 01:40:44 +0100
commit97850d8c1ee3522ccce30ef31ed91601da8c0730 (patch)
tree770761b1f211d47dbc619f9d6922174686bd6fc7 /src/components.rs
parentf6d1d4ea258490670ee1605c596a6ba9a49a77db (diff)
inventory is now shown
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs
index 5e1c979..45c8340 100644
--- a/src/components.rs
+++ b/src/components.rs
@@ -78,6 +78,7 @@ impl Component for Inventory {
#[derive(Component, Debug, Clone)]
pub struct Item {
- pub ent: Template
+ pub ent: Template,
+ pub name: String
}