raspberry_games_server_game_logic 1.8.328 → 1.8.330

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.
@@ -376,7 +376,7 @@
376
376
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
377
377
  //endregion
378
378
  function GameEngineConfig() {
379
- this.version = '1.8.328';
379
+ this.version = '1.8.330';
380
380
  }
381
381
  protoOf(GameEngineConfig).s2z = function () {
382
382
  return this.version;
@@ -2588,7 +2588,7 @@
2588
2588
  inductionVariable = inductionVariable + -1 | 0;
2589
2589
  var element = this_0[index];
2590
2590
  // Inline function 'games.jass.logic.data.models.leagues.LeaguesConfig.getLeagueInfoByRating.<anonymous>' call
2591
- if (element.minRating < rating) {
2591
+ if (element.minRating <= rating) {
2592
2592
  tmp$ret$1 = element;
2593
2593
  break $l$block;
2594
2594
  }
@@ -55764,27 +55764,9 @@
55764
55764
  tmp_23 = rulesPreset;
55765
55765
  }
55766
55766
  jsObject['rulesPreset'] = tmp_23;
55767
- var tmp_24;
55768
- if (leagues == null) {
55769
- // Inline function 'kotlin.collections.toTypedArray' call
55770
- // Inline function 'kotlin.collections.map' call
55771
- var this_1 = get_entries_0();
55772
- // Inline function 'kotlin.collections.mapTo' call
55773
- var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
55774
- var tmp0_iterator_0 = this_1.j();
55775
- while (tmp0_iterator_0.k()) {
55776
- var item_0 = tmp0_iterator_0.l();
55777
- // Inline function 'GameHelperImpl.prepareLobbyFilterInternal.<anonymous>' call
55778
- // Inline function 'kotlin.text.lowercase' call
55779
- // Inline function 'kotlin.js.asDynamic' call
55780
- var tmp$ret$45 = item_0.q2_1.toLowerCase();
55781
- destination_0.e(tmp$ret$45);
55782
- }
55783
- tmp_24 = copyToArray(destination_0);
55784
- } else {
55785
- tmp_24 = leagues;
55767
+ if (!(leagues == null)) {
55768
+ jsObject['leagues'] = leagues;
55786
55769
  }
55787
- jsObject['leagues'] = tmp_24;
55788
55770
  jsObject['isChatEnabled'] = isChatEnabled;
55789
55771
  return jsObject;
55790
55772
  }
@@ -55940,9 +55922,8 @@
55940
55922
  var tmp18_elvis_lhs = tmp_19;
55941
55923
  var tmp_20;
55942
55924
  if (tmp18_elvis_lhs == null) {
55943
- // Inline function 'kotlin.collections.toTypedArray' call
55944
- var this_1 = Companion_getInstance_153().debertzWithFirstCardCombinations;
55945
- tmp_20 = copyToArray(this_1);
55925
+ // Inline function 'kotlin.emptyArray' call
55926
+ tmp_20 = [];
55946
55927
  } else {
55947
55928
  tmp_20 = tmp18_elvis_lhs;
55948
55929
  }