Reverted the regroup thing for PC formats. Fixed games timing out during preparation causing stuck matches in the hall.

This commit is contained in:
Christian 'ketura' McCarty
2023-05-14 18:40:38 -05:00
parent 29aae48572
commit 997fb83173
3 changed files with 9 additions and 3 deletions

View File

@@ -465,6 +465,9 @@ var GempLotrGameUI = Class.extend({
processGameEnd: function() {
var that = this;
if(this.allPlayerIds == null)
return;
$("#deck" + this.getPlayerIndex(this.bottomPlayerId)).addClass("clickable").click(
(function (index) {
return function () {

View File

@@ -23,7 +23,7 @@
"order": 2,
"sites":"FELLOWSHIP",
"cancelRingBearerSkirmish":true,
"winAtEndOfRegroup":true,
"winAtEndOfRegroup":false,
"discardPileIsPublic":true,
"set":[1, 2, 3, 101],
"erratasets": [
@@ -43,7 +43,7 @@
"code":"pc_movie",
"order": 4,
"sites":"KING",
"winAtEndOfRegroup":true,
"winAtEndOfRegroup":false,
"discardPileIsPublic":true,
"set":[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 101],
"erratasets": [
@@ -64,7 +64,7 @@
"code":"pc_expanded",
"order": 6,
"sites":"SHADOWS",
"winAtEndOfRegroup":true,
"winAtEndOfRegroup":false,
"discardPileIsPublic":true,
"set":[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 100, 101],
"erratasets": [

View File

@@ -123,6 +123,9 @@ public class GameState {
listener.endGame();
}
if(_playerOrder == null || _playerOrder.getAllPlayers() == null)
return;
for (String playerId : _playerOrder.getAllPlayers()) {
for(var card : getDeck(playerId)) {
for (GameStateListener listener : getAllGameStateListeners()) {