Fix `__len` metamethod of `KoboldWorldInfoFolderSelector`

This commit is contained in:
Gnome Ann 2022-01-01 12:33:02 -05:00
parent aba150229c
commit 6db01ea5fe
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ return function(_python, _bridged)
if not check_validity(t) then
return 0
end
return #kobold.worldinfo
return _python.builtins.len(bridged.vars.wifolders_l)
end
KoboldWorldInfoFolderSelector_mt._kobold_next = KoboldWorldInfoEntry_mt._kobold_next