cleanup: Fixes bugs and cleans up code (#660)
This commit is contained in:
parent
1de0b656a9
commit
679e8100f4
99 changed files with 160 additions and 346 deletions
|
|
@ -772,11 +772,7 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
var pe = prefs.Find(players[j]);
|
||||
|
||||
if (pe.Disliked.Contains(ae.m_Arena.Name))
|
||||
{
|
||||
++ae.m_VotesAgainst;
|
||||
}
|
||||
else
|
||||
if (!pe.Disliked.Contains(ae.m_Arena.Name))
|
||||
{
|
||||
++ae.m_VotesFor;
|
||||
}
|
||||
|
|
@ -827,7 +823,6 @@ namespace Server.Engines.ConPVP
|
|||
private class ArenaEntry
|
||||
{
|
||||
public readonly Arena m_Arena;
|
||||
public int m_VotesAgainst;
|
||||
public int m_VotesFor;
|
||||
|
||||
public ArenaEntry(Arena arena) => m_Arena = arena;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue