parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -848,7 +848,7 @@ namespace Server.Engines.ConPVP
|
|||
if (pm.DuelContext == null || pm.DuelContext != m_Context)
|
||||
return -1;
|
||||
|
||||
if (pm.DuelPlayer == null || pm.DuelPlayer.Eliminated)
|
||||
if (pm.DuelPlayer?.Eliminated != false)
|
||||
return -1;
|
||||
|
||||
return pm.DuelContext.Participants.IndexOf(pm.DuelPlayer.Participant);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue