fix bug timer live mode
All checks were successful
Deploy to Production / deploy (push) Successful in 8s

This commit is contained in:
Đặng Minh Quang
2026-02-27 15:47:41 +07:00
parent 683fe53ddd
commit 70c98caede
4 changed files with 6 additions and 4 deletions

View File

@@ -25622,8 +25622,8 @@ cr.getObjectRefTable = function () { return [
cr.plugins_.Audio,
cr.plugins_.Browser,
cr.plugins_.Function,
cr.plugins_.SenaPlugin,
cr.plugins_.Sprite,
cr.plugins_.SenaPlugin,
cr.plugins_.Text,
cr.plugins_.Touch,
cr.behaviors.Fade,

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -1038,6 +1038,9 @@ SenaSDK.prototype.getHintValue = function (index) {
SenaSDK.prototype.start = function () {
let self = this;
// LUÔN GÁN THỜI GIAN BẮT ĐẦU Ở ĐÂY
self.startTime = Date.now();
// Nếu là matching game, forward sang tdv_sdk.start()
if (self.isMatchingGame) {
console.log("🎮 Sena SDK: Matching game - forwarding start() to tdv_sdk");
@@ -1052,7 +1055,6 @@ SenaSDK.prototype.start = function () {
if (self.shuffle && self.data && self.data.options) {
self.shuffleArray(self.data.options);
}
self.startTime = Date.now();
// Additional logic for tracking can be added here if needed
};