|
|
|
@ -549,12 +549,12 @@ function checkAllOK(justChecking=false){
|
|
|
|
|
{
|
|
|
|
|
var audio = new Audio('ress/Jewel4.mp3');
|
|
|
|
|
audio.play();
|
|
|
|
|
handleScore(1);
|
|
|
|
|
if(pause)
|
|
|
|
|
{
|
|
|
|
|
chronoStop();
|
|
|
|
|
pause_clock();
|
|
|
|
|
}
|
|
|
|
|
handleScore(1);
|
|
|
|
|
won=true;
|
|
|
|
|
}
|
|
|
|
|
else if(justChecking)
|
|
|
|
@ -598,9 +598,9 @@ function handleScore(modif)
|
|
|
|
|
var pts = diff.getSeconds()+ (diff.getMinutes()*60) + ((diff.getHours()-1)*3600);
|
|
|
|
|
window.location.replace("./score.php?pts="+pts+"&mode="+get['mode']+"&diff="+get['diff']+"&pseudo="+get['pseudo']);
|
|
|
|
|
}
|
|
|
|
|
else if(get['mode']=="surv")
|
|
|
|
|
else if(get['mode'].includes("s"))
|
|
|
|
|
{
|
|
|
|
|
addTime(30);
|
|
|
|
|
addTime(tpsPlus[1]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|