MZ Visustella Party System Plugin adds reserve actors automatically on max number change

I am using the VisuStella party system with 6 party members. I have devised a summon system where in pre battle I make space for 1 more by increasing the max number to 7 with the plugin command. When I do that, every reserve member is added to the active party automatically. I think this is not right to be added automatically from reserve to active. Anyone else experiencing this?
I tested it and it seems to do that (not 100% sure if I have everything up to date).

You could just remove the added members in the same event, after changing the max battlers. $gameParty.battleMembers() gives you the actors in the active party. Check how many there are and then you can loop the 'move party index to reserve' to remove everyone else or something.

Or just try complaining to VisuStella...
Good call. This worked for me (added this on a plugin I use) I put the save before and the restore after using the plugin command to increase/decrease max members:

Game_Party.prototype.originalPartyMembers = []; Game_Party.prototype.saveOriginalPartyMembers = function () { this.originalPartyMembers = this.battleMembers().map(member => { return { actorId: member.actorId(), position: member.index() }; }); }; Game_Party.prototype.restoreOriginalPartyMembers = function () { var activePartyMembers = this.battleMembers().map(member => { return { actorId: member.actorId(), position: member.index() }; }); activePartyMembers.forEach(activeMember => { // Find the corresponding original party member var originalMember = this.originalPartyMembers.find(member => member.actorId === activeMember.actorId && member.position === activeMember.position ); // If the original member is not found, remove the active member if (!originalMember) { this.removeActorFromBattleMembers(activeMember.actorId); } }); };

Original thread: https://forums.rpgmakerweb.com/threads/visustella-party-system-plugin-adds-reserve-actors-automatically-on-max-number-change.164026/