diff options
| author | troido <troido@protonmail.com> | 2020-03-04 12:15:58 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-03-04 12:15:58 +0100 |
| commit | 21919636f95a1214b7ed1a3e4aa6527f45b9d073 (patch) | |
| tree | dfe7a465cdf81048c3ac04b5719571bb0192791f /src/systems/fight.rs | |
| parent | daae8b511291b8cc854a8747e64e76c6ff2d462e (diff) | |
interacting now works
Diffstat (limited to 'src/systems/fight.rs')
| -rw-r--r-- | src/systems/fight.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/fight.rs b/src/systems/fight.rs index 47b5811..cd6399f 100644 --- a/src/systems/fight.rs +++ b/src/systems/fight.rs @@ -31,7 +31,7 @@ impl <'a> System<'a> for Fight { type SystemData = ( Entities<'a>, ReadStorage<'a, Controller>, - WriteStorage<'a, Position>, + ReadStorage<'a, Position>, Read<'a, Ground>, WriteStorage<'a, AttackInbox>, ReadStorage<'a, Fighter>, |
