diff options
| author | troido <troido@protonmail.com> | 2020-04-09 14:30:42 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-09 14:30:42 +0200 |
| commit | 569da2b3f3e15b11be8f67ea4f81aaab4dc58049 (patch) | |
| tree | 6e4d4d1dfea45cb4b75d4fcd5753c0798d19f89a /src/room.rs | |
| parent | 53e2db880893a1a2ddf797c7e991665c2cb05e29 (diff) | |
properly substitute items
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/room.rs b/src/room.rs index 0bb2f61..94d5f00 100644 --- a/src/room.rs +++ b/src/room.rs @@ -249,8 +249,7 @@ impl <'a, 'b>Room<'a, 'b> { inventory.items.iter().map(|entry| (entry.itemid.clone(), entry.is_equipped)).collect(), inventory.capacity, health.health, - health.maxhealth, - HashMap::new() + health.maxhealth )) } |
