Hey bro, I added a parameter called Prevent Summon Defeat in General Settings. With this parameter set to True, if the summon dies in solo mode, the summoner and their party return normally.
In duo mode, if the summoner dies, the summon is dismissed and the party returns normally. Please download the js file again, activate this parameter, and see if everything is working as it should.
Let me know if you have any questions.