From de42ac4f9fcaabbb8a7e23b645c00671092f17fc 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),