Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -216,20 +216,11 @@ namespace Server.Factions
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsCandidate(Mobile mob)
|
||||
{
|
||||
return FindCandidate(mob) != null;
|
||||
}
|
||||
public bool IsCandidate(Mobile mob) => FindCandidate(mob) != null;
|
||||
|
||||
public bool CanVote(Mobile mob)
|
||||
{
|
||||
return CurrentState == ElectionState.Election && !HasVoted(mob);
|
||||
}
|
||||
public bool CanVote(Mobile mob) => CurrentState == ElectionState.Election && !HasVoted(mob);
|
||||
|
||||
public bool HasVoted(Mobile mob)
|
||||
{
|
||||
return FindVoter(mob) != null;
|
||||
}
|
||||
public bool HasVoted(Mobile mob) => FindVoter(mob) != null;
|
||||
|
||||
public Candidate FindCandidate(Mobile mob)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue