0.481.1.423973

This commit is contained in:
Max
2021-06-05 17:22:53 -05:00
parent 5dc65e2184
commit 3aa380a95b
4 changed files with 110 additions and 11 deletions

Binary file not shown.

View File

@ -586,6 +586,24 @@ local function generateClasses()
gotValue = true
end)
end
elseif category == "Enum" then
local enum = Enum[typeName]
local lowestId = math.huge
local lowest
for _,item in pairs(enum:GetEnumItems()) do
local itemValue = item.Value
if itemValue < lowestId then
lowest = item
lowestId = itemValue
end
end
if lowest then
value = lowest
gotValue = true
end
end
local id = string.format("%s.%s", className, propName)