···189189 const queryResult = dbCtx.db.prepare("SELECT last_insert_rowid() as id").get();
190190 const levelId = queryResult ? (queryResult as { id: number }).id : 0;
191191192192+ if (author === "Anonymous") {
193193+ author = `Anon${levelId}`;
194194+ dbCtx.db.prepare("UPDATE levels SET author = ? WHERE id = ?").run(author, levelId);
195195+ }
196196+192197 // store the level binary data
193198 // @ts-expect-error -- 3 is the only valid version right now but this will change in future
194199 const levelFilename = `${levelId}.izl${version === 1 ? "" : version}`;