diff options
| author | troido <troido@protonmail.com> | 2020-03-04 19:47:00 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-04 19:47:00 +0100 |
| commit | 022e439a6677b9865b7a3287dbd197d86266f8ef (patch) | |
| tree | 00c8cd7c08fe29cf9f6652b0082f2b13617e426c /src/systems/droploot.rs | |
| parent | f8364fb636a8e9276939ae8523966b038388e4ff (diff) | |
implemented growth
Diffstat (limited to 'src/systems/droploot.rs')
| -rw-r--r-- | src/systems/droploot.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/systems/droploot.rs b/src/systems/droploot.rs index 616d38d..1b8f824 100644 --- a/src/systems/droploot.rs +++ b/src/systems/droploot.rs @@ -3,7 +3,6 @@ use rand::Rng; use specs::{ ReadStorage, - WriteStorage, System, Join, Write @@ -22,7 +21,7 @@ use crate::{ pub struct DropLoot; impl <'a> System<'a> for DropLoot{ type SystemData = ( - WriteStorage<'a, Position>, + ReadStorage<'a, Position>, Write<'a, NewEntities>, ReadStorage<'a, Dead>, ReadStorage<'a, Loot> |
