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/volate.rs | |
| parent | f8364fb636a8e9276939ae8523966b038388e4ff (diff) | |
implemented growth
Diffstat (limited to 'src/systems/volate.rs')
| -rw-r--r-- | src/systems/volate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systems/volate.rs b/src/systems/volate.rs index 8cfa826..cd50995 100644 --- a/src/systems/volate.rs +++ b/src/systems/volate.rs @@ -9,7 +9,7 @@ use specs::{ use crate::{ components::{Volatile, Removed}, - resources::TimeStamp + resources::Time }; pub struct Volate; @@ -18,7 +18,7 @@ impl <'a> System<'a> for Volate { Entities<'a>, WriteStorage<'a, Volatile>, WriteStorage<'a, Removed>, - Read<'a, TimeStamp> + Read<'a, Time> ); fn run(&mut self, (entities, mut volatiles, mut removals, timestamp): Self::SystemData) { for (ent, volatile) in (&entities, &mut volatiles).join() { |
