game_client_logic_deb 1.8.396 → 1.8.397

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.
@@ -386,7 +386,7 @@
386
386
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
387
387
  //endregion
388
388
  function GameEngineConfig() {
389
- this.version = '1.8.396';
389
+ this.version = '1.8.397';
390
390
  }
391
391
  protoOf(GameEngineConfig).w3u = function () {
392
392
  return this.version;
@@ -49044,8 +49044,9 @@
49044
49044
  while (_iterator__ex2g4s.m()) {
49045
49045
  var element = _iterator__ex2g4s.n();
49046
49046
  // Inline function 'kotlin.math.absoluteValue' call
49047
- var this_0 = element.oldRating - element.newRating;
49048
- if (Math.abs(this_0) >= 100) {
49047
+ var this_0 = element.newRating - element.oldRating;
49048
+ var ratingMultiplier = Math.abs(this_0) / element.oldRating;
49049
+ if (ratingMultiplier > 0.15) {
49049
49050
  destination.j(element);
49050
49051
  }
49051
49052
  }
@@ -49077,7 +49078,7 @@
49077
49078
  var ratingChangeAboveLimit = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
49078
49079
  // Inline function 'kotlin.collections.isNotEmpty' call
49079
49080
  if (!ratingChangeAboveLimit.r()) {
49080
- logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(suspiciousRatingChange));
49081
+ logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(ratingChangeAboveLimit));
49081
49082
  }
49082
49083
  }
49083
49084
  function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider, $logger) {