|
|
@ -266,13 +266,13 @@ async fn new_character<EG: EntityGateway>(entity_gateway: &mut EG, user: &UserAc |
|
|
|
items: vec![InventoryItemEntity::Individual(weapon.clone()), InventoryItemEntity::Individual(armor.clone()), InventoryItemEntity::Individual(mag.clone()),
|
|
|
|
InventoryItemEntity::Stacked(monomates), InventoryItemEntity::Stacked(monofluids)],
|
|
|
|
};
|
|
|
|
entity_gateway.set_character_inventory(&character.id, &inventory);
|
|
|
|
entity_gateway.set_character_bank(&character.id, &BankEntity::default(), BankName("".into()));
|
|
|
|
entity_gateway.set_character_inventory(&character.id, &inventory).await;
|
|
|
|
entity_gateway.set_character_bank(&character.id, &BankEntity::default(), BankName("".into())).await;
|
|
|
|
let mut equipped = EquippedEntity::default();
|
|
|
|
equipped.weapon = Some(weapon.id);
|
|
|
|
equipped.armor = Some(armor.id);
|
|
|
|
equipped.mag = Some(mag.id);
|
|
|
|
entity_gateway.set_character_equips(&character.id, &equipped);
|
|
|
|
entity_gateway.set_character_equips(&character.id, &equipped).await;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|