Thanks that worked!
I think I may have found another bug, this time with that character switch: Switching units on the same faction back and forth works as a player 1, but when player 2 (faction doesn’t matter here, it’s always the faction that goes second) does it, it gets a stuck after one switch. Is this intended?
EDIT: While I’m at it here is another bug:
PassThroughFriendly movetype messes something up in pathfinding. If you have some way of moving twice in a single turn like the sprint command => pass through an ally with the first part of the move, your unit is able to move into the same tile as the ally unit. Sometimes the ally gets another move after “merging” with an ally too. [GIF]](https://imgur.com/a/EjMMDmj)