Fixed win stats on solo games
This commit is contained in:
parent
b341089cfe
commit
235cf8cae7
@ -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="" />
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user