raspberry_games_server_game_logic 1.8.406 → 1.8.409
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Logic_Debertz-core.js
CHANGED
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
390
390
|
//endregion
|
|
391
391
|
function GameEngineConfig() {
|
|
392
|
-
this.version = '1.8.
|
|
392
|
+
this.version = '1.8.409';
|
|
393
393
|
}
|
|
394
394
|
protoOf(GameEngineConfig).a3w = function () {
|
|
395
395
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1982,8 +1982,8 @@
|
|
|
1982
1982
|
var originalRoomMode = tmp1_elvis_lhs == null ? newRoomMode : tmp1_elvis_lhs;
|
|
1983
1983
|
var isFirstRound = (fromRound == null ? 0 : fromRound) === 0;
|
|
1984
1984
|
var updateRating = isFirstRound && !isPrivate && newRoomMode.hasRatingSupport && originalRoomMode.hasRatingSupport;
|
|
1985
|
-
var
|
|
1986
|
-
return new EngineLogicConfig(false, isProduction,
|
|
1985
|
+
var isDevelopment = !isProduction;
|
|
1986
|
+
return new EngineLogicConfig(false, isProduction, isDevelopment, VOID, updateRating, validateFromClientActionTags, false, playerTimeoutFactorToFinishStep, openRoomIfFinished, VOID, isDevelopment);
|
|
1987
1987
|
};
|
|
1988
1988
|
protoOf(Companion_3).getServerEngineMode = function (roomMode, isPrivate, transition, fromRound, isProduction, validateFromClientActionTags, openRoomIfFinished, playerTimeoutFactorToFinishStep, $super) {
|
|
1989
1989
|
validateFromClientActionTags = validateFromClientActionTags === VOID ? true : validateFromClientActionTags;
|
|
@@ -56818,7 +56818,7 @@
|
|
|
56818
56818
|
var player = getPlayer(table.players, action.m8x_1);
|
|
56819
56819
|
var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.m8x_1, table.cardsOnTable.o(), action.j8x_1));
|
|
56820
56820
|
var tmp2_$this = state.w6r();
|
|
56821
|
-
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.j8x_1, cardsOnTheTable, action.k8x_1, action.l8x_1), get_byIdPlayerPredicate()(player.playerId));
|
|
56821
|
+
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.j8x_1, cardsOnTheTable, action.k8x_1, action.n8x_1.u1(player.playerId) ? action.l8x_1 : false), get_byIdPlayerPredicate()(player.playerId));
|
|
56822
56822
|
var tmp0_safe_receiver = action.k8x_1;
|
|
56823
56823
|
var tmp;
|
|
56824
56824
|
if (tmp0_safe_receiver == null) {
|
|
@@ -56878,7 +56878,7 @@
|
|
|
56878
56878
|
var _iterator__ex2g4s_1 = players.l();
|
|
56879
56879
|
while (_iterator__ex2g4s_1.m()) {
|
|
56880
56880
|
var item_1 = _iterator__ex2g4s_1.n();
|
|
56881
|
-
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.p8x_1, cardsOnTable, getValue(playersCombinations, item_1.playerId), action.r8x_1);
|
|
56881
|
+
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.p8x_1, cardsOnTable, getValue(playersCombinations, item_1.playerId), action.p8x_1 === item_1.playerId ? action.r8x_1 : false);
|
|
56882
56882
|
destination_1.j(tmp$ret$6);
|
|
56883
56883
|
}
|
|
56884
56884
|
var tmp3_gameInfo = table.gameInfo.d8h(VOID, VOID, table.gameInfo.round.copy(VOID, action.q8x_1));
|