From 694cf6f762efea19f6e84ec45bdec1ce17743d97 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 6 May 2024 17:27:43 +0300 Subject: [PATCH] Fix field name --- public/scripts/world-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 5f1fb008f..1cce57313 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -2656,7 +2656,7 @@ function filterByInclusionGroups(newEntries, allActivatedEntries, buffer) { let winner = null; for (const entry of group) { - currentWeight += (entry.group_weight ?? DEFAULT_WEIGHT); + currentWeight += (entry.groupWeight ?? DEFAULT_WEIGHT); if (rollValue <= currentWeight) { console.debug(`Activated inclusion group '${key}' with roll winner entry '${entry.uid}'`, entry);