@mtgame/core 1.0.50 → 1.0.51

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.
@@ -2123,8 +2123,12 @@
2123
2123
  }
2124
2124
  Object.defineProperty(VolleyballGameConfig.prototype, "setsCount", {
2125
2125
  get: function () {
2126
- return this.gameType === exports.VolleyballGameTypes.to_sets_count ? this.periodsCount ? this.periodsCount : 3
2127
- : this.gameType === exports.VolleyballGameTypes.best_of_three ? 3 : 5;
2126
+ if (this.gameType === exports.VolleyballGameTypes.to_sets_count) {
2127
+ return this.periodsCount ? this.periodsCount : 3;
2128
+ }
2129
+ else {
2130
+ return this.gameType === exports.VolleyballGameTypes.best_of_three ? 3 : 5;
2131
+ }
2128
2132
  },
2129
2133
  enumerable: false,
2130
2134
  configurable: true