From 9fd0e142c95989e3b960575a0a540e4855e2ac12 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 16 Jun 2021 20:09:34 -0600 Subject: [PATCH] disambiguate? --- src/entity/gateway/postgres/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/gateway/postgres/models.rs b/src/entity/gateway/postgres/models.rs index 892fa24..d6a0c14 100644 --- a/src/entity/gateway/postgres/models.rs +++ b/src/entity/gateway/postgres/models.rs @@ -759,7 +759,7 @@ impl Into for PgEquipped { impl From<(CharacterEntityId, EquippedEntity)> for PgEquipped { fn from(char_equips: (CharacterEntityId, EquippedEntity)) -> PgEquipped { PgEquipped { - pchar: char_equips.0.0 as i32, + pchar: (char_equips.0).0 as i32, weapon: char_equips.1.weapon.map(|i| i.0 as i32), armor: char_equips.1.armor.map(|i| i.0 as i32), shield: char_equips.1.shield.map(|i| i.0 as i32),