Browse Source

disambiguate?

pull/34/head
jake 4 years ago
parent
commit
de42ac4f9f
  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