diff --git a/scripts/logging.js b/scripts/logging.js index 1b3b7ab..dd4d017 100644 --- a/scripts/logging.js +++ b/scripts/logging.js @@ -21,7 +21,7 @@ export default class logging { @param {bool} PRIORITY automatically dismiss other, older messages */ constructor(TITLE, MESSAGE, PRIORITY = true) { // Set this message's properties. - if (MESSAGE == null) { + if (!MESSAGE || (typeof MESSAGE).includes(`undef`)) { this.message = TITLE; } else { this.title = TITLE;