diff --git a/src/BaseAPI.js b/src/BaseAPI.js index 596adb7..469b14e 100644 --- a/src/BaseAPI.js +++ b/src/BaseAPI.js @@ -113,9 +113,7 @@ export default class BaseAPI { terminationMessage?: String) { let returnValue = global_constants.SCORM_FALSE; - if (this.isInitialized()) { - this.throwSCORMError(this.#error_codes.INITIALIZED, initializeMessage); - } else if (this.isTerminated()) { + if (this.isTerminated()) { this.throwSCORMError(this.#error_codes.TERMINATED, terminationMessage); } else { if (this.selfReportSessionTime) {