From c7197641b658ec1496a23bd25459464ed13ec21d Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 24 May 2025 15:00:12 -0600 Subject: [PATCH] Fixed a bug with rendering applications that depend on the database mutating the object by reference --- module/utils/databases/Database.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/utils/databases/Database.mjs b/module/utils/databases/Database.mjs index 785bc87..932ac46 100644 --- a/module/utils/databases/Database.mjs +++ b/module/utils/databases/Database.mjs @@ -181,7 +181,7 @@ export class Database { */ static async render(opts) { for (const app of this._apps.values()) { - app.render(opts); + app.render(foundry.utils.deepClone(opts)); }; };