This commit is contained in:
@@ -25772,10 +25772,10 @@ cr.getObjectRefTable = function () { return [
|
||||
cr.plugins_.Audio,
|
||||
cr.plugins_.Browser,
|
||||
cr.plugins_.Function,
|
||||
cr.plugins_.SenaPlugin,
|
||||
cr.plugins_.Sprite,
|
||||
cr.plugins_.Text,
|
||||
cr.plugins_.SenaPlugin,
|
||||
cr.plugins_.Touch,
|
||||
cr.plugins_.Text,
|
||||
cr.behaviors.Rex_MoveTo,
|
||||
cr.behaviors.Sin,
|
||||
cr.behaviors.Timer,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": 1772174207,
|
||||
"version": 1772177279,
|
||||
"fileList": [
|
||||
"data.js",
|
||||
"c2runtime.js",
|
||||
|
||||
@@ -155,7 +155,7 @@ SenaSDK.prototype.loadFromPostMessage = function (inputJson, callback) {
|
||||
// Lưu trữ danh sách gốc
|
||||
self.masterList = [...self.data.options];
|
||||
// Tính tổng số level
|
||||
self.totalLevels = Math.ceil(self.masterList.length / self.itemCount);
|
||||
self.totalLevels = Math.ceil(self.masterList.length / 6);
|
||||
self.currentLevel = 0;
|
||||
|
||||
// Load Level 1 ngay lập tức để self.data.options chỉ chứa 6 card đầu
|
||||
@@ -519,7 +519,7 @@ SenaSDK.prototype._loadFromServer = function (
|
||||
// Lưu trữ danh sách gốc
|
||||
self.masterList = [...self.data.options];
|
||||
// Tính tổng số level
|
||||
self.totalLevels = Math.ceil(self.masterList.length / self.itemCount);
|
||||
self.totalLevels = Math.ceil(self.masterList.length / 6);
|
||||
self.currentLevel = 0;
|
||||
|
||||
// Load Level 1 ngay lập tức để self.data.options chỉ chứa 6 card đầu
|
||||
@@ -1734,7 +1734,7 @@ SenaSDK.prototype.loadLevelG5 = function (levelIndex) {
|
||||
if (self.gameType !== 5 || !self.masterList) return false;
|
||||
|
||||
self.currentLevel = levelIndex;
|
||||
let count = self.itemCount; // Số card tối đa mỗi trang (VD: 6)
|
||||
let count = 6; // Khóa cứng max 6 card/trang cho G5
|
||||
|
||||
window.Sena_TotalLevels = Math.ceil(self.masterList.length / count);
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user