This commit is contained in:
ScrawnyRonnie 2023-12-27 21:39:07 -05:00
parent e62e46e3c3
commit 11e5834c02

View file

@ -1095,7 +1095,7 @@ class SquadService extends Actor {
if (size > 2) { if (size > 2) {
GetLeadingSquad(charId, pSquadOpt) match { GetLeadingSquad(charId, pSquadOpt) match {
case Some(_) => case Some(_) =>
//leader of a squad; the squad will be disbanded. Same logic as when a SL uses /leave and the squad is disband. //leader of a squad; the squad will be disbanded. Same logic as when a SL uses /leave and the squad is disbanded.
PanicDisbandSquad( PanicDisbandSquad(
features, features,
squad.Membership.collect { case member if member.CharId > 0 && member.CharId != charId => member.CharId } squad.Membership.collect { case member if member.CharId > 0 && member.CharId != charId => member.CharId }