Skip to content

Commit

Permalink
Reset named positions when a unit selection falls through.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 2cb0c81854c0f3afb37e80d311233ced2d155174
  • Loading branch information
cpojer committed May 9, 2024
1 parent 397f0ea commit 48eabf8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hera/behavior/AbstractSelectBehavior.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default abstract class AbstractSelectBehavior {
return (
unitState ||
buildingState || {
namedPositions: null,
selectedBuilding: null,
selectedUnit: null,
}
Expand Down

0 comments on commit 48eabf8

Please sign in to comment.