Add a reached ending setting to Christmas Chaos
This commit is contained in:
parent
97ce2d0ae6
commit
d1a084b66e
@ -130,6 +130,7 @@ public class Christmas extends SoloGame
|
||||
}
|
||||
}
|
||||
};
|
||||
public boolean ReachedEnding = false;
|
||||
|
||||
public Christmas(ArcadeManager manager)
|
||||
{
|
||||
@ -506,7 +507,7 @@ public class Christmas extends SoloGame
|
||||
AnnounceEnd(_badGuys);
|
||||
SetState(GameState.End);
|
||||
}
|
||||
else if (UtilTime.elapsed(GetStateTime(), _gameTime))
|
||||
else if (UtilTime.elapsed(GetStateTime(), _gameTime) && !ReachedEnding)
|
||||
{
|
||||
for (Player player : GetPlayers(false))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user