SCORM score not assigned correctly

Problem:
When users watch a SCORM presentation and exit before completing it them are unable to complete it when watching again. For example:
SCORM contain a 10 mintues video, with two hidden button that modify score at 8 minutes and 10 minutes, respectively 80 and 100 points. If an user watchs only 7 minutes of the video, closes the presentation and then, in another moment, continue to wathing it for the 3 minutes remaining of the video the score is always 0 and test result is alawys failed. This situation dosen’t come up when user watch the entire presentation without close browser window or exit.

Project general javascript:

if (!prez.mioPunteggio) {
prez.mioPunteggio = true;
prez.score = function() {
    return this.variable('punteggioAttuale');
};
prez.maxScore = function() {
    return 100; 
};
prez.result = function() {
    return this.variable('testSuperato');
};
}

Variables settings:

image

Export settings:

ActivePresenter version:
Versione 8.3.2 - 64-bit build. (Realizzata: 2021.01.26)

OS:
Windows 10

Hi Jakkah,

Could you please share us the project and its external data folder named in the PROJECT_FILE_files (if any) to support@atomisystems.com so that we can check.
If these files are large, you can upload them to a cloud storage site like Google Drive then send the download link to us.

Kind regards,
Thuy