raspberry_games_server_game_logic 1.8.283 → 1.8.285

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.
@@ -324,7 +324,7 @@
324
324
  function addFormatStructureForTime(structure) {
325
325
  this.z59(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
327
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
328
328
  function offsetHours$default(padding, $super) {
329
329
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
330
330
  var tmp;
@@ -377,7 +377,7 @@
377
377
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
378
378
  //endregion
379
379
  function GameEngineConfig() {
380
- this.version = '1.8.283';
380
+ this.version = '1.8.285';
381
381
  }
382
382
  protoOf(GameEngineConfig).p2z = function () {
383
383
  return this.version;
@@ -1826,8 +1826,8 @@
1826
1826
  var tmp0_safe_receiver = transition instanceof RevengeRoomTransition ? transition : null;
1827
1827
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.originalRoomMode;
1828
1828
  var originalRoomMode = tmp1_elvis_lhs == null ? newRoomMode : tmp1_elvis_lhs;
1829
- var isNotAFirstRound = (fromRound == null ? 0 : fromRound) > 0;
1830
- var updateRating = isNotAFirstRound && !isPrivate && newRoomMode.hasRatingSupport && originalRoomMode.hasRatingSupport;
1829
+ var isFirstRound = (fromRound == null ? 0 : fromRound) === 0;
1830
+ var updateRating = isFirstRound && !isPrivate && newRoomMode.hasRatingSupport && originalRoomMode.hasRatingSupport;
1831
1831
  var tmp3_verboseGameHistory = !isProduction;
1832
1832
  return new EngineLogicConfig(false, isProduction, tmp3_verboseGameHistory, VOID, updateRating, validateFromClientActionTags, false, playerTimeoutFactorToFinishStep, openRoomIfFinished);
1833
1833
  };