# Flip stored and current placements when switching sides · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/cc1db14a4d70056ca5debc68d58d869b75eb8c7b)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: cc1db14a4d70056ca5debc68d58d869b75eb8c7b

Requested commit: cc1db14a4d70056ca5debc68d58d869b75eb8c7b

Commit: cc1db14a4d70056ca5debc68d58d869b75eb8c7b

Tree: 602989b44473420223202769a20e0ece8fec3aa8

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Flip stored and current placements when switching sides

- Update lineup side switching to also flip popped lineups and in-progress current agent/ability
- Update ability side switching to process deleted abilities in `poppedAbility`
- Add regression tests for deleted/restored and current placement flip behavior

```

## Parents

- [cc39fc96eb037bd2037f45193c4159ae0458be45](https://git.cafe/dara/icarus/commit/cc39fc96eb037bd2037f45193c4159ae0458be45?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/cc1db14a4d70056ca5debc68d58d869b75eb8c7b?format=markdown)
