Add missing init() to marketplace scripts

This commit is contained in:
2026-01-15 17:28:46 +01:00
parent a0c007606b
commit 71f9e4ddaf
3 changed files with 6 additions and 0 deletions

View File

@@ -131,6 +131,8 @@ function formatLines(messages, ctx, width) {
return lines.slice(-MAX_LINES);
}
function init() { }
function tick(context, state) {
const { ctx, width, height, chatMessages } = context;
if (!ctx) {