Prevent to send a second chat message when an eliminated player leave the server
This commit is contained in:
parent
2741de908f
commit
6302012349
@ -374,6 +374,7 @@ foreach (Event in PendingEvents) {
|
||||
if (Event.Type == CSmModeEvent::EType::OnPlayerRemoved) {
|
||||
if (Event.User == Null ) continue;
|
||||
if (!AccountIdsOfPlayers.exists(Event.User.WebServicesUserId)) continue;
|
||||
if (IsEliminated(Event.User, Null)) continue;
|
||||
ThrottleUpdate = True;
|
||||
UpdateCustomRanking(Event.User, True);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user