Victory only on my turn
At the end of my turn, I had 12 VPs.
On the very next turn, that player caused the pirates to attack. My knights contributed the most to our victory, so I got a VP, completing 13 to win the match. However, the game continued until my turn. It only finished right after I rolled the dice.
This is how the game is. You can only win on your turn.