Skip to content

Commit

Permalink
Fix verb code update regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Nov 5, 2023
1 parent b0240c1 commit a4f2dd5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion crates/db/src/tb_worldstate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,19 @@ impl DbTransaction for TupleBoxTransaction {
obj,
verbdefs,
)
.await
.await?;

if verb_attrs.binary.is_some() {
object_relations::upsert_obj_uuid_value(
&self.tx,
WorldStateRelation::VerbProgram,
obj,
uuid,
verb_attrs.binary.unwrap(),
)
.await?;
}
Ok(())
}

async fn add_object_verb(
Expand Down

0 comments on commit a4f2dd5

Please sign in to comment.