Fix `compute_context()` method of world info folders

This commit is contained in:
Gnome Ann 2021-12-19 20:46:37 -05:00
parent 341b153360
commit 7dd319491d
1 changed files with 5 additions and 1 deletions

View File

@ -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