From 09306cb76c6e1eabb4082a985a0a0fa335bda5c1 Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 25 Sep 2020 08:54:20 +0200 Subject: proper serialisation for playerstate; strum for old-style enums --- src/room.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/room.rs') 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 )) } -- cgit