Skip to content

Commit

Permalink
Fpin ffrom main
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Aug 21, 2024
1 parent 5b1b100 commit e20479a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unity/Assets/Scripts/FpinAgentController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ public ActionFinished InitializeBody(
// we had a body asset used, so actionFinished returns info related to that
if (bodyAsset != null) {
return new ActionFinished(spawnAssetActionFinished) {
success = true,
// TODO: change to a proper class once metadata return is defined
actionReturn = new Dictionary<string, object>()
{
Expand All @@ -899,8 +900,8 @@ spawnAssetActionFinished.actionReturn as ObjectSphereBounds
}
};
} else {
return new ActionFinished()
{
return new ActionFinished(
success: true,
// TODO: change to a proper class once metadata return is defined
actionReturn: new Dictionary<string, object>()
{
Expand Down

0 comments on commit e20479a

Please sign in to comment.