bunch of small fixes #127

Merged
jake merged 30 commits from make_actually_work into master 2023-01-30 22:07:38 -05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ab8c5e6688 - Show all commits

View File

@ -977,7 +977,7 @@ where
pub(super) fn add_item_to_local_floor<EG, TR>(
character_id: CharacterEntityId,
) -> impl Fn((ItemStateProxy, TR), FloorItem)
-> BoxFuture<Result<((ItemStateProxy, TR), FloorItem), ItemStateError>>
-> BoxFuture<Result<((ItemStateProxy, TR), FloorItem), anyhow::Error>>
where
EG: EntityGateway,
TR: EntityGatewayTransaction<ParentGateway = EG> + 'static,

View File

@ -466,7 +466,7 @@ pub async fn enemy_drops_item<'a, EG> (
entity_gateway: &mut EG,
character_id: CharacterEntityId,
item_drop: ItemDrop)
-> Result<FloorItem, ItemStateError>
-> Result<FloorItem, anyhow::Error>
where
EG: EntityGateway + 'static,
{