This was a bit of a subtle one:
You're in a campaign and have a target. You use nx or go to get there, kill it, then use xcp to pick the next target. You're either in the same area as it already, or it's a room-based cp so xcp doesn't make you run to another area. You see there's 2 rooms. You do nx. It picks the second room instead of the first.
This was happening because next_room wasn't being reset after doing xcp so it was going "Oh, you're currently in the first room, let's go to the second" but that was straight up wrong.
Reset it to -1 and bingo bango bongo you're good to go
This was a bit of a subtle one: You're in a campaign and have a target. You use nx or go to get there, kill it, then use xcp to pick the next target. You're either in the same area as it already, or it's a room-based cp so xcp doesn't make you run to another area. You see there's 2 rooms. You do nx. It picks the second room instead of the first.
This was happening because next_room wasn't being reset after doing xcp so it was going "Oh, you're currently in the first room, let's go to the second" but that was straight up wrong.
Reset it to -1 and bingo bango bongo you're good to go