new logs are not prioritized

This commit is contained in:
buzz-lightsnack-2007 2024-05-12 19:56:28 +08:00
parent 6ab3368edf
commit fb3d016b5f

View file

@ -19,7 +19,7 @@ export default class logging {
@param {string} TITLE the title
@param {string} MESSAGE the message
@param {bool} PRIORITY automatically dismiss other, older messages */
constructor(TITLE, MESSAGE, PRIORITY = true) {
constructor(TITLE, MESSAGE, PRIORITY = false) {
// Set this message's properties.
if (!MESSAGE || (typeof MESSAGE).includes(`undef`)) {
this.message = TITLE;