raspberry_games_server_game_logic 1.8.370 → 1.8.372

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.
@@ -379,7 +379,7 @@
379
379
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
380
380
  //endregion
381
381
  function GameEngineConfig() {
382
- this.version = '1.8.370';
382
+ this.version = '1.8.372';
383
383
  }
384
384
  protoOf(GameEngineConfig).y3v = function () {
385
385
  return this.version;
@@ -42577,6 +42577,9 @@
42577
42577
  var kLoss = Math.max(tmp0, b_0);
42578
42578
  var raw = item.h70_1 + kBase * (kWin * diffPos + kLoss * diffNeg);
42579
42579
  var newRating = clampAndRound($this, raw, minUserRating, maxUserRating);
42580
+ if (item.j70_1 && newRating < item.h70_1) {
42581
+ newRating = item.h70_1;
42582
+ }
42580
42583
  tmp$ret$3 = new PlayerRatingOutput(item.g70_1, item.h70_1, newRating, item.j70_1);
42581
42584
  }
42582
42585
  destination.j(tmp$ret$3);