Skip to content

Commit

Permalink
fix deep explode unit wait for animation to finish
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmtimbo committed Dec 3, 2024
1 parent c69136d commit ef7508b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/system/platform/component/app/Editor/Component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59028,6 +59028,12 @@ export class Editor_ extends Element<HTMLDivElement, Props_> {
unlisten()
})
)
} else if (subgraph._animating_unit_explosion[data.graphId]) {
;(async () => {
await subgraph._animating_unit_explosion[data.graphId]

commit()
})()
} else {
commit()
}
Expand Down

0 comments on commit ef7508b

Please sign in to comment.