Browse Source

disambiguate?

jake 4 years ago
committed by andy
parent
commit
9fd0e142c9
  1. 2
      src/entity/gateway/postgres/models.rs

2
src/entity/gateway/postgres/models.rs

@ -759,7 +759,7 @@ impl Into<EquippedEntity> 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),

Loading…
Cancel
Save