From 7dd319491dac4bedbb8affbb6fb6776b95a826b3 Mon Sep 17 00:00:00 2001 From: Gnome Ann <> Date: Sun, 19 Dec 2021 20:46:37 -0500 Subject: [PATCH] Fix `compute_context()` method of world info folders --- bridge.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bridge.lua b/bridge.lua index 3399d8a8..dcdd51f7 100644 --- a/bridge.lua +++ b/bridge.lua @@ -414,7 +414,11 @@ return function(_python, _bridged) end end end - return bridged.compute_context(submission, _entries, rawget(self, "_uid")) + local folders + if self.name == "KoboldWorldInfoFolder" then + folders = {rawget(self, "_uid")} + end + return bridged.compute_context(submission, _entries, folders) end ---@return boolean