Code: Select all
    local basePic    = baseEntity.picture
    
    -- This dump block works fine
    local s = ""
    for index = 1, #basePic.layers do
        s = s .. "\n" .. basePic.layers[ index ].filename
    end
    error( s )
    
    -- Yet this line throws a nil error
    local picLayer   = basePic.layers[ 1 ]Am I just stupid? Did I miss something obvious? wth?





