Code to remove party members from party does not update followers

Hello,

I'm currently using the following script to remove all of the actors except the first from my party.

JavaScript:
$gameParty._actors = [1];
$gamePlayer.refresh()
$gameMap.requestRefresh()

Unfortunately, while this *does* remove the actors I want to remove, it does not update the followers. So, strangely, the menu shows only one actor but on the map, all the actors that are now not there anymore continue following the first actor. This corrects itself when I change maps, but obviously I would like the followers to update as soon as I remove them from the party.

Is there something I can add to the above so that the followers update immediately?

Thanks
It's not the player or map you need to refresh, it's the actual followers.
Code:
$gamePlayer._followers.refresh()
Actually followers refresh with the player. The code should work, at least on the console.
Actually followers refresh with the player. The code should work, at least on the console.
True. I was just pointing out the extraneous stuff included there, I didn't look specifically at whether the player refresh should work - but you're right.

Original thread: https://forums.rpgmakerweb.com/threads/code-to-remove-party-members-from-party-does-not-update-followers.173823/