@slot-engine/core 0.1.6 → 0.1.7

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.
package/dist/index.js CHANGED
@@ -2924,6 +2924,7 @@ var LinesWinType = class extends WinType {
2924
2924
  let baseSymbol;
2925
2925
  const potentialWinLine = [];
2926
2926
  const potentialWildLine = [];
2927
+ let isInterrupted = false;
2927
2928
  for (const [ridx, reel] of reels.entries()) {
2928
2929
  const sidx = line[ridx];
2929
2930
  const thisSymbol = reel[sidx];
@@ -2950,6 +2951,9 @@ var LinesWinType = class extends WinType {
2950
2951
  }
2951
2952
  if (baseSymbol.compare(thisSymbol) || this.isWild(thisSymbol)) {
2952
2953
  potentialWinLine.push({ reel: ridx, row: sidx, symbol: thisSymbol });
2954
+ } else {
2955
+ isInterrupted = true;
2956
+ break;
2953
2957
  }
2954
2958
  }
2955
2959
  const minSymLine = Math.min(