summaryrefslogtreecommitdiff
path: root/src/systems/attacking.rs
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-02 16:07:32 +0200
committertroido <troido@protonmail.com>2020-04-02 16:07:32 +0200
commitb597d2279db7beb0d619fac472481b7f707609c8 (patch)
tree3d45ea9f45a8897a3aec5c30b16bb0db12b162b2 /src/systems/attacking.rs
parent1e8fe74740fc4fb11b660415b2db182c6a63a3c2 (diff)
built doors
Diffstat (limited to 'src/systems/attacking.rs')
-rw-r--r--src/systems/attacking.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systems/attacking.rs b/src/systems/attacking.rs
index 4318695..e4001c9 100644
--- a/src/systems/attacking.rs
+++ b/src/systems/attacking.rs
@@ -64,7 +64,7 @@ impl <'a> System<'a> for Attacking {
}
if let Some(position) = positions.get(ent){
if wounded {
- new.create(position.pos, Template::empty("wound")).unwrap();
+ new.create(position.pos, &Template::empty("wound")).unwrap();
}
}
}