diff --git a/scripts/core/engine.js b/scripts/core/engine.js index 2b591ae1..83c82533 100644 --- a/scripts/core/engine.js +++ b/scripts/core/engine.js @@ -1668,11 +1668,12 @@ actor[prosperon.DOC] = { } // Expand console.doc to document the console object and missing methods -console.doc.doc = `The console object provides various logging, debugging, and output methods.` -console.doc.spam = `Output a spam-level message for very verbose logging.` -console.doc.debug = `Output a debug-level message.` -console.doc.panic = `Output a panic-level message and exit the program.` -console.doc.assert = `If the condition is false, print an error and panic.` +console[prosperon.DOC] = {} +console[prosperon.DOC][prosperon.DOC] = `The console object provides various logging, debugging, and output methods.` +console[prosperon.DOC].spam = `Output a spam-level message for very verbose logging.` +console[prosperon.DOC].debug = `Output a debug-level message.` +console[prosperon.DOC].panic = `Output a panic-level message and exit the program.` +console[prosperon.DOC].assert = `If the condition is false, print an error and panic.` // Document the Register object Register[prosperon.DOC] = {