diff options
| author | troido <troido@protonmail.com> | 2020-09-25 08:54:20 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-25 08:54:20 +0200 |
| commit | 09306cb76c6e1eabb4082a985a0a0fa335bda5c1 (patch) | |
| tree | e43abd096374a8e79186b519d80372112ab0ca74 /src/room.rs | |
| parent | 9eb3a9da97e53cee14e585e027badb3783b8e25e (diff) | |
proper serialisation for playerstate; strum for old-style enums
Diffstat (limited to 'src/room.rs')
| -rw-r--r-- | src/room.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/room.rs b/src/room.rs index 56fe2e6..6100ce1 100644 --- a/src/room.rs +++ b/src/room.rs @@ -255,9 +255,7 @@ impl <'a, 'b>Room<'a, 'b> { player.id.clone(), self.id.clone(), inventory.items.iter().map(|entry| (entry.itemid.clone(), entry.is_equipped)).collect(), - inventory.capacity, health.health, - health.maxhealth )) } |
