summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components.rs b/src/components.rs
index 8be8364..5e1c979 100644
--- a/src/components.rs
+++ b/src/components.rs
@@ -69,7 +69,7 @@ impl Player {
#[derive(Debug, Clone, Default)]
pub struct Inventory {
pub items: Vec<Item>,
- pub capacity: u64
+ pub capacity: usize
}
impl Component for Inventory {
type Storage = FlaggedStorage<Self, HashMapStorage<Self>>;