Fixed win stats on solo games

This commit is contained in:
CoderTim 2014-09-09 02:18:20 -04:00
parent b341089cfe
commit 235cf8cae7
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="" />
<module name="Classpath.Dummy" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />

View File

@ -127,7 +127,7 @@ public abstract class SoloGame extends Game
@Override
public List<Player> getWinners()
{
if (GetPlayers(true).size() <= 1)
if (GetState().ordinal() >= GameState.End.ordinal())
{
List<Player> places = _players.GetPlacements(true);