Code: Select all
Error in Update(): [string "LuaUI/Widgets/gui_iceui.lua"]:748: attempt to index local 'name' (a nil value)
Moderator: Moderators
Code: Select all
Error in Update(): [string "LuaUI/Widgets/gui_iceui.lua"]:748: attempt to index local 'name' (a nil value)
Code: Select all
for _,v in ipairs(VFS.DirList(PROFILES_DIRNAME, "*.lua", VFS.RAW_FIRST)) do
local _,_,name = string.find(v, ".*\\(.*).lua")
if name ~= 'current' and name:sub(1,1):upper() == name:sub(1,1) then
...