Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -15,14 +15,20 @@ namespace Server.Engines.PartySystem
|
|||
var p = Party.Get(from);
|
||||
|
||||
if (p == null || p.Leader != from || !p.Contains(m))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (from == m)
|
||||
from.SendLocalizedMessage(
|
||||
{
|
||||
@from.SendLocalizedMessage(
|
||||
1005446
|
||||
); // You may only remove yourself from a party if you are not the leader.
|
||||
}
|
||||
else
|
||||
{
|
||||
p.Remove(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue