diff options
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> |
