update update
All checks were successful
Deploy to Production / deploy (push) Successful in 7s

This commit is contained in:
Đặng Minh Quang
2026-02-27 14:29:01 +07:00
parent 7586ea20cb
commit 28e45f92e6
5 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -1,5 +1,5 @@
{
"version": 1772174207,
"version": 1772177279,
"fileList": [
"data.js",
"c2runtime.js",

View File

@@ -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.