Update ModuleScripts/Ranges.lua

This commit is contained in:
Sovereignty 2024-12-11 06:01:44 +00:00
parent 84f063c699
commit f222d942e6

View file

@ -12,7 +12,7 @@ function module.new(n1: number, n2: number): { Values: { number }, Random: (self
print(n1, n2)
local first = math.min(n1, n2)
local last = math.max(n1, n2)
for index = math.floor(first), math.floor(last + 1) do
for index = math.floor(first), math.floor(last) do
table.insert(ranges, index)
end