client_plugin_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.
@@ -425,7 +425,7 @@
425
425
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
426
426
  //endregion
427
427
  function GameEngineConfig() {
428
- this.version = '1.8.396';
428
+ this.version = '1.8.397';
429
429
  }
430
430
  protoOf(GameEngineConfig).g3z = function () {
431
431
  return this.version;
@@ -55939,8 +55939,9 @@
55939
55939
  while (_iterator__ex2g4s.m()) {
55940
55940
  var element = _iterator__ex2g4s.n();
55941
55941
  // Inline function 'kotlin.math.absoluteValue' call
55942
- var this_0 = element.oldRating - element.newRating;
55943
- if (Math.abs(this_0) >= 100) {
55942
+ var this_0 = element.newRating - element.oldRating;
55943
+ var ratingMultiplier = Math.abs(this_0) / element.oldRating;
55944
+ if (ratingMultiplier > 0.15) {
55944
55945
  destination.j(element);
55945
55946
  }
55946
55947
  }
@@ -55972,7 +55973,7 @@
55972
55973
  var ratingChangeAboveLimit = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
55973
55974
  // Inline function 'kotlin.collections.isNotEmpty' call
55974
55975
  if (!ratingChangeAboveLimit.q()) {
55975
- logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(suspiciousRatingChange));
55976
+ logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(ratingChangeAboveLimit));
55976
55977
  }
55977
55978
  }
55978
55979
  function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider, $logger) {