Yeah, taking damage as either "player character" resets both. I chose that because if there were more advanced puzzles later, only resetting the active character might lead to the puzzle being in an invalid state where the player can get stuck.