diff options
| author | troido <troido@protonmail.com> | 2020-04-02 16:07:32 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-02 16:07:32 +0200 |
| commit | b597d2279db7beb0d619fac472481b7f707609c8 (patch) | |
| tree | 3d45ea9f45a8897a3aec5c30b16bb0db12b162b2 /src/room.rs | |
| parent | 1e8fe74740fc4fb11b660415b2db182c6a63a3c2 (diff) | |
built doors
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/room.rs b/src/room.rs index 6c92e8c..5b125c4 100644 --- a/src/room.rs +++ b/src/room.rs @@ -261,7 +261,7 @@ impl <'a, 'b>Room<'a, 'b> { } fn create_entity(&mut self, template: Template, pos: Pos) -> Result<()>{ - self.world.fetch_mut::<NewEntities>().create(pos, template)?; + self.world.fetch_mut::<NewEntities>().create(pos, &template)?; Ok(()) } |
