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/spawn.rs | |
| parent | f8364fb636a8e9276939ae8523966b038388e4ff (diff) | |
implemented growth
Diffstat (limited to 'src/systems/spawn.rs')
| -rw-r--r-- | src/systems/spawn.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systems/spawn.rs b/src/systems/spawn.rs index 27dcb1f..33dbc95 100644 --- a/src/systems/spawn.rs +++ b/src/systems/spawn.rs @@ -17,7 +17,7 @@ use crate::{ Clan, Home }, - resources::{NewEntities, TimeStamp}, + resources::{NewEntities, Time}, componentwrapper::ComponentWrapper }; @@ -30,7 +30,7 @@ impl <'a> System<'a> for Spawn { Write<'a, NewEntities>, WriteStorage<'a, Spawner>, ReadStorage<'a, Clan>, - Read<'a, TimeStamp> + Read<'a, Time> ); fn run(&mut self, (positions, mut new, mut spawners, clans, time): Self::SystemData) { |
