diff --git a/www/html/Game/public/js/play.js b/www/html/Game/public/js/play.js index 85a47a8..81f7b18 100644 --- a/www/html/Game/public/js/play.js +++ b/www/html/Game/public/js/play.js @@ -34,6 +34,7 @@ } let nick = (params.get('nick') || '').trim() || readStoredDisplayName() || 'ผู้เล่น'; const previewMode = params.get('preview') === '1'; + const specialQuizForceDebug = params.get('sqForce') === '1'; const forceDefaultCharacter = params.get('defaultChar') === '1'; const editorEmbedReturn = params.get('editorEmbed') === '1'; if (previewMode && editorEmbedReturn) { @@ -15540,6 +15541,9 @@ return; } myId = socket.id; + if (specialQuizForceDebug) { + try { socket.emit('special-quiz-force', { on: true }); } catch (eF) { /* ignore */ } + } let botSlots = parseInt(res.botSlotCount, 10); if ((!botSlots || botSlots < 1) && res.maxPlayers > 0 && res.maxPlayers < 6) { botSlots = 6 - res.maxPlayers; diff --git a/www/html/Game/public/play.html b/www/html/Game/public/play.html index 939d6c6..460d332 100644 --- a/www/html/Game/public/play.html +++ b/www/html/Game/public/play.html @@ -3939,7 +3939,7 @@ - +