parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -52,12 +52,12 @@ namespace Server.Engines.ConPVP
|
|||
private const int LabelColor32 = 0xFFFFFF;
|
||||
private const int BlackColor32 = 0x000000;
|
||||
|
||||
// private DDGame m_Game;
|
||||
// private DDGame m_Game;
|
||||
|
||||
public DDBoardGump(Mobile mob, DDGame game, DDTeamInfo section = null)
|
||||
: base(60, 60)
|
||||
{
|
||||
// m_Game = game;
|
||||
// m_Game = game;
|
||||
|
||||
DDTeamInfo ourTeam = game.GetTeamInfo(mob);
|
||||
|
||||
|
|
@ -499,7 +499,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